Struct raft::Status [−][src]
pub struct Status<'a> { pub id: u64, pub hs: HardState, pub ss: SoftState, pub applied: u64, pub progress: Option<&'a ProgressTracker>, }
Expand description
Represents the current status of the raft
Fields
id: u64
The ID of the current node.
hs: HardState
The hardstate of the raft, representing voted state.
ss: SoftState
The softstate of the raft, representing proposed state.
applied: u64
The index of the last entry to have been applied.
progress: Option<&'a ProgressTracker>
The progress towards catching up and applying logs.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Status<'a>
impl<'a> UnwindSafe for Status<'a>