Struct raft::SoftState [−][src]
Expand description
SoftState provides state that is useful for logging and debugging. The state is volatile and does not need to be persisted to the WAL.
Fields
leader_id: u64
The potential leader of the cluster.
raft_state: StateRole
The soft role this node may take.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SoftState
impl UnwindSafe for SoftState