pub struct SnapshotFingerprint(/* private fields */);Expand description
The checksum a sealed snapshot already carries, reborrowed as its change fingerprint: two seals of identical payloads carry identical fingerprints, so a flusher can skip rewriting a region whose fingerprint matches its last flush — no second hash pass. A changed payload whose CRC-32 collides with the previous one (odds 2^-32 per flush) skips one write; the next real change heals it.
Trait Implementations§
Source§impl Clone for SnapshotFingerprint
impl Clone for SnapshotFingerprint
Source§fn clone(&self) -> SnapshotFingerprint
fn clone(&self) -> SnapshotFingerprint
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 SnapshotFingerprint
Source§impl Debug for SnapshotFingerprint
impl Debug for SnapshotFingerprint
impl Eq for SnapshotFingerprint
Source§impl PartialEq for SnapshotFingerprint
impl PartialEq for SnapshotFingerprint
impl StructuralPartialEq for SnapshotFingerprint
Auto Trait Implementations§
impl Freeze for SnapshotFingerprint
impl RefUnwindSafe for SnapshotFingerprint
impl Send for SnapshotFingerprint
impl Sync for SnapshotFingerprint
impl Unpin for SnapshotFingerprint
impl UnsafeUnpin for SnapshotFingerprint
impl UnwindSafe for SnapshotFingerprint
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