Enum jopemachine_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 for SnapshotStatus
impl PartialEq 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 ==
.impl Copy for SnapshotStatus
impl Eq for SnapshotStatus
impl StructuralPartialEq for SnapshotStatus
Auto Trait Implementations§
impl RefUnwindSafe for SnapshotStatus
impl Send for SnapshotStatus
impl Sync for SnapshotStatus
impl Unpin for SnapshotStatus
impl UnwindSafe for SnapshotStatus
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