pub struct FrameHeader {
pub page_id: u64,
pub lsn: u64,
pub salt: u32,
pub commit: bool,
}Expand description
In-memory representation of a WAL frame header.
Fields§
§page_id: u64Page-id whose payload this frame replaces.
lsn: u64Monotonic per-WAL-generation log sequence number.
salt: u32WAL generation salt; must match the WAL header.
commit: booltrue iff this frame is the last in its transaction (commit
marker).
Trait Implementations§
Source§impl Clone for FrameHeader
impl Clone for FrameHeader
Source§fn clone(&self) -> FrameHeader
fn clone(&self) -> FrameHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameHeader
impl Debug for FrameHeader
impl Copy for FrameHeader
Auto Trait Implementations§
impl Freeze for FrameHeader
impl RefUnwindSafe for FrameHeader
impl Send for FrameHeader
impl Sync for FrameHeader
impl Unpin for FrameHeader
impl UnsafeUnpin for FrameHeader
impl UnwindSafe for FrameHeader
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