pub struct WalEntry {
pub lsn: u64,
pub op: WalOp,
pub crc: u32,
pub fsynced: bool,
}Expand description
A WAL entry with sequence number and CRC.
Fields§
§lsn: u64Log sequence number.
op: WalOpThe operation.
crc: u32CRC32 checksum for corruption detection.
fsynced: boolWhether this entry has been fsynced.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WalEntry
impl RefUnwindSafe for WalEntry
impl Send for WalEntry
impl Sync for WalEntry
impl Unpin for WalEntry
impl UnsafeUnpin for WalEntry
impl UnwindSafe for WalEntry
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