pub struct WalHeader {
pub salt: u32,
pub checkpoint_seq: u32,
}Expand description
Parsed WAL header. page_size is redundant with the engine’s compile-
time constant; we persist it for forward-compat and reject anything
that doesn’t match at open time.
Fields§
§salt: u32§checkpoint_seq: u32Trait Implementations§
impl Copy for WalHeader
impl Eq for WalHeader
impl StructuralPartialEq for WalHeader
Auto Trait Implementations§
impl Freeze for WalHeader
impl RefUnwindSafe for WalHeader
impl Send for WalHeader
impl Sync for WalHeader
impl Unpin for WalHeader
impl UnsafeUnpin for WalHeader
impl UnwindSafe for WalHeader
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