pub struct VerifiedSnapshot { /* private fields */ }Expand description
One internally consistent, fully verified semantic view of a journal read.
The snapshot contains only logical entries and the canonical Datums they retain. Physical bytes, storage locators, and backend state stay private to the journal implementation.
Implementations§
Source§impl VerifiedSnapshot
impl VerifiedSnapshot
Sourcepub const fn head(&self) -> Option<&JournalHead>
pub const fn head(&self) -> Option<&JournalHead>
Returns the verified head from the same backend read as the entries.
Sourcepub fn entries(&self) -> &[JournalEntry]
pub fn entries(&self) -> &[JournalEntry]
Returns the complete verified entry chain in sequence order.
Trait Implementations§
Source§impl Clone for VerifiedSnapshot
impl Clone for VerifiedSnapshot
Source§fn clone(&self) -> VerifiedSnapshot
fn clone(&self) -> VerifiedSnapshot
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 VerifiedSnapshot
impl Debug for VerifiedSnapshot
impl Eq for VerifiedSnapshot
Source§impl PartialEq for VerifiedSnapshot
impl PartialEq for VerifiedSnapshot
impl StructuralPartialEq for VerifiedSnapshot
Auto Trait Implementations§
impl Freeze for VerifiedSnapshot
impl RefUnwindSafe for VerifiedSnapshot
impl Send for VerifiedSnapshot
impl Sync for VerifiedSnapshot
impl Unpin for VerifiedSnapshot
impl UnsafeUnpin for VerifiedSnapshot
impl UnwindSafe for VerifiedSnapshot
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