pub struct WalEntry {
pub sequence: u64,
pub entry_type: EntryType,
pub flags: u8,
pub payload: Vec<u8>,
}Expand description
A WAL entry ready for serialization.
Fields§
§sequence: u64Global monotonic sequence number.
entry_type: EntryTypeType of operation.
flags: u8Flags (bit 0: is_keyframe).
payload: Vec<u8>Serialized payload.
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 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