pub enum SnapshotType {
FullSnapshot,
IncrementalSnapshot(Slot),
}
Expand description
Snapshots come in two flavors, Full and Incremental. The IncrementalSnapshot has a Slot field, which is the incremental snapshot base slot.
Variants
FullSnapshot
IncrementalSnapshot(Slot)
Implementations
Trait Implementations
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 SnapshotType
impl Send for SnapshotType
impl Sync for SnapshotType
impl Unpin for SnapshotType
impl UnwindSafe for SnapshotType
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