Enum kudu::RaftRole
[−]
[src]
pub enum RaftRole {
Follower,
Leader,
Learner,
NonParticipant,
Unknown,
}The role of a Kudu master or tserver in a consensus group.
Variants
FollowerLeaderLearnerNonParticipantUnknownTrait Implementations
impl Clone for RaftRole[src]
fn clone(&self) -> RaftRole
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for RaftRole[src]
impl Debug for RaftRole[src]
impl PartialEq for RaftRole[src]
fn eq(&self, __arg_0: &RaftRole) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.