pub struct SnapshotInfo {
pub path: PathBuf,
pub checkpoint_sequence: u64,
pub checkpoint_digest: Option<[u8; 32]>,
pub entry_count: u64,
pub receipt_count: u64,
pub snapshot_digest: [u8; 32],
pub file_bytes: u64,
}Expand description
Verified metadata for one logical snapshot.
Fields§
§path: PathBufSnapshot file path.
checkpoint_sequence: u64Materialized commit sequence captured by the snapshot.
checkpoint_digest: Option<[u8; 32]>Commit digest captured by the snapshot, absent for an empty log.
entry_count: u64Number of sorted KV entries.
receipt_count: u64Number of sorted durable idempotency receipts.
snapshot_digest: [u8; 32]BLAKE3 digest of the canonical snapshot content.
file_bytes: u64Complete file length.
Trait Implementations§
Source§impl Clone for SnapshotInfo
impl Clone for SnapshotInfo
Source§fn clone(&self) -> SnapshotInfo
fn clone(&self) -> SnapshotInfo
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 SnapshotInfo
impl Debug for SnapshotInfo
impl Eq for SnapshotInfo
Source§impl PartialEq for SnapshotInfo
impl PartialEq for SnapshotInfo
impl StructuralPartialEq for SnapshotInfo
Auto Trait Implementations§
impl Freeze for SnapshotInfo
impl RefUnwindSafe for SnapshotInfo
impl Send for SnapshotInfo
impl Sync for SnapshotInfo
impl Unpin for SnapshotInfo
impl UnsafeUnpin for SnapshotInfo
impl UnwindSafe for SnapshotInfo
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