Struct Scanned
pub struct Scanned {
pub header: WalHeader,
pub end: usize,
pub last_seq: u64,
pub last_checksum: u64,
pub batches: u64,
pub tail: End,
}Expand description
The accepted chain through one segment.
Fields§
§header: WalHeader§end: usizeOffset just past the last accepted batch.
last_seq: u64Sequence and checksum of the last accepted batch (the segment’s base position when it holds none).
last_checksum: u64§batches: u64§tail: EndTrait Implementations§
impl Copy for Scanned
impl Eq for Scanned
impl StructuralPartialEq for Scanned
Auto Trait Implementations§
impl Forget for Scanned
impl Freeze for Scanned
impl Move for Scanned
impl RefUnwindSafe for Scanned
impl Send for Scanned
impl Sync for Scanned
impl Unpin for Scanned
impl UnsafeUnpin for Scanned
impl UnwindSafe for Scanned
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more