Enum kudu_pb::consensus_metadata::RaftPeerPB_Role [] [src]

pub enum RaftPeerPB_Role {
    UNKNOWN_ROLE,
    FOLLOWER,
    LEADER,
    LEARNER,
    NON_PARTICIPANT,
}

Variants

Trait Implementations

impl Clone for RaftPeerPB_Role
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for RaftPeerPB_Role
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RaftPeerPB_Role
[src]

impl Debug for RaftPeerPB_Role
[src]

Formats the value using the given formatter.

impl Hash for RaftPeerPB_Role
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl ProtobufEnum for RaftPeerPB_Role
[src]

impl Copy for RaftPeerPB_Role
[src]

impl ProtobufValue for RaftPeerPB_Role
[src]