Define all coordinator transaction types

This commit is contained in:
Luke Parker
2023-04-11 19:04:53 -04:00
parent 90f67b5e54
commit 2cfee536f6
10 changed files with 372 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ pub use transaction::*;
mod block;
pub use block::*;
#[cfg(any(test, feature = "tests"))]
pub mod tests;
/// An item which can be read and written.
pub trait ReadWrite: Sized {
fn read<R: io::Read>(reader: &mut R) -> io::Result<Self>;