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: u64Log sequence number.
entry_type: WalEntryTypeThe type of WAL operation.
page_id: u64The page affected by this entry.
data: Vec<u8>Serialized payload.
checksum: u32CRC32 checksum for integrity verification.
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