Enum jopemachine_raft::ProgressState
source · pub enum ProgressState {
Probe,
Replicate,
Snapshot,
}
Expand description
The state of the progress.
Variants§
Trait Implementations§
source§impl Clone for ProgressState
impl Clone for ProgressState
source§fn clone(&self) -> ProgressState
fn clone(&self) -> ProgressState
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 ProgressState
impl Debug for ProgressState
source§impl Default for ProgressState
impl Default for ProgressState
source§fn default() -> ProgressState
fn default() -> ProgressState
Returns the “default value” for a type. Read more
source§impl Display for ProgressState
impl Display for ProgressState
source§impl PartialEq for ProgressState
impl PartialEq for ProgressState
source§fn eq(&self, other: &ProgressState) -> bool
fn eq(&self, other: &ProgressState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProgressState
impl Eq for ProgressState
impl StructuralPartialEq for ProgressState
Auto Trait Implementations§
impl RefUnwindSafe for ProgressState
impl Send for ProgressState
impl Sync for ProgressState
impl Unpin for ProgressState
impl UnwindSafe for ProgressState
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