pub struct WalEntry {
pub lsn: u64,
pub entry_type: WalEntryType,
pub page_id: u64,
pub data: Vec<u8>,
pub checksum: u32,
}Expand description
A single WAL entry (in-memory representation).
Fields§
§lsn: u64§entry_type: WalEntryType§page_id: u64§data: Vec<u8>§checksum: u32Trait 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