Enum raft::raw_node::SnapshotStatus
source · pub enum SnapshotStatus {
Finish,
Failure,
}
Expand description
The status of the snapshot.
Variants§
Finish
Represents that the snapshot is finished being created.
Failure
Indicates that the snapshot failed to build or is not ready.
Trait Implementations§
source§impl Clone for SnapshotStatus
impl Clone for SnapshotStatus
source§fn clone(&self) -> SnapshotStatus
fn clone(&self) -> SnapshotStatus
Returns a copy 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 SnapshotStatus
impl Debug for SnapshotStatus
source§impl PartialEq<SnapshotStatus> for SnapshotStatus
impl PartialEq<SnapshotStatus> for SnapshotStatus
source§fn eq(&self, other: &SnapshotStatus) -> bool
fn eq(&self, other: &SnapshotStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.