Enum 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<ProgressState> for ProgressState
impl PartialEq<ProgressState> 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 ==
.