| 94 | /// Metadata about a [`Commit`] which was successfully written via [`Writer::commit`]. |
| 95 | #[derive(Debug, PartialEq)] |
| 96 | pub struct Committed { |
| 97 | /// The range of transaction offsets included in the commit. |
| 98 | pub tx_range: Range<u64>, |
| 99 | /// The crc32 checksum of the commit's serialized form, |
| 100 | /// as written to the commitlog. |
| 101 | pub checksum: u32, |
| 102 | } |
| 103 | |
| 104 | #[derive(Debug)] |
| 105 | pub struct Writer<W: io::Write> { |
no outgoing calls
searching dependent graphs…