pub struct WalProvenance {
pub frame_index: usize,
pub salt1: u32,
pub salt2: u32,
}Expand description
Provenance for a record carved from a -wal frame: the
(salt1, salt2, frame_index) log-sequence identity of the frame it came from
(the LSN task #55 will formalize).
Fields§
§frame_index: usize0-based position of the source frame within the -wal file.
salt1: u32WAL header salt-1 (checkpoint generation) of the source frame.
salt2: u32WAL header salt-2 (checkpoint generation) of the source frame.
Trait Implementations§
Source§impl Clone for WalProvenance
impl Clone for WalProvenance
Source§fn clone(&self) -> WalProvenance
fn clone(&self) -> WalProvenance
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 moreimpl Copy for WalProvenance
Source§impl Debug for WalProvenance
impl Debug for WalProvenance
impl Eq for WalProvenance
Source§impl PartialEq for WalProvenance
impl PartialEq for WalProvenance
Source§fn eq(&self, other: &WalProvenance) -> bool
fn eq(&self, other: &WalProvenance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WalProvenance
Auto Trait Implementations§
impl Freeze for WalProvenance
impl RefUnwindSafe for WalProvenance
impl Send for WalProvenance
impl Sync for WalProvenance
impl Unpin for WalProvenance
impl UnsafeUnpin for WalProvenance
impl UnwindSafe for WalProvenance
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