pub struct SnapshotMeta {
pub format_version: u32,
pub node_count: usize,
pub relationship_count: usize,
pub wal_lsn: Option<u64>,
}Expand description
Metadata reported by save_snapshot / load_snapshot. Kept small and
stable so callers can log / diff it without reflecting on the payload.
Fields§
§format_version: u32Format version the payload is written in.
node_count: usizeNumber of nodes in the snapshot.
relationship_count: usizeNumber of relationships in the snapshot.
wal_lsn: Option<u64>WAL log position captured alongside the snapshot, if any. None for
pure (non-checkpoint) snapshots.
Trait Implementations§
Source§impl Clone for SnapshotMeta
impl Clone for SnapshotMeta
Source§fn clone(&self) -> SnapshotMeta
fn clone(&self) -> SnapshotMeta
Returns a duplicate of the value. Read more
1.0.0 · 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 SnapshotMeta
impl Debug for SnapshotMeta
Source§impl PartialEq for SnapshotMeta
impl PartialEq for SnapshotMeta
impl Copy for SnapshotMeta
impl Eq for SnapshotMeta
impl StructuralPartialEq for SnapshotMeta
Auto Trait Implementations§
impl Freeze for SnapshotMeta
impl RefUnwindSafe for SnapshotMeta
impl Send for SnapshotMeta
impl Sync for SnapshotMeta
impl Unpin for SnapshotMeta
impl UnsafeUnpin for SnapshotMeta
impl UnwindSafe for SnapshotMeta
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