Struct raft::SoftState
[−]
[src]
pub struct SoftState { pub leader_id: u64, pub raft_state: StateRole, }
Fields
leader_id: u64
raft_state: StateRole
Trait Implementations
impl Default for SoftState
[src]
impl PartialEq for SoftState
[src]
fn eq(&self, __arg_0: &SoftState) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SoftState) -> bool
[src]
This method tests for !=
.