Expand description
Used by SnapshotPackagerService and SnapshotGossipManager, this struct adds type safety to
ensure an incremental snapshot hash is pushed to the right CRDS. base
is the (full) snapshot
this incremental snapshot (hash
) is based on.
Fields
base: (Slot, Hash)
hash: (Slot, Hash)
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IncrementalSnapshotHash
impl Send for IncrementalSnapshotHash
impl Sync for IncrementalSnapshotHash
impl Unpin for IncrementalSnapshotHash
impl UnwindSafe for IncrementalSnapshotHash
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more