pub struct Snapshot {
pub journal: JournalSnapshot,
pub accepted: Prefix,
pub committed: Prefix,
pub applied: Prefix,
pub pending_operations: usize,
pub pending_body_bytes: usize,
}Expand description
Independent observation of acceptance, persistence, and applied visibility.
Fields§
§journal: JournalSnapshotExact local written and durable journal progress.
accepted: PrefixLast admitted canonical operation prefix.
committed: PrefixContiguous locally durable confirmation prefix.
applied: PrefixLast prefix installed in application state.
pending_operations: usizeAccepted operations still awaiting application.
pending_body_bytes: usizeCanonical body bytes retained by those operations.
Trait Implementations§
impl Copy for Snapshot
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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