Enum kudu_pb::consensus_metadata::RaftPeerPB_MemberType
[−]
[src]
pub enum RaftPeerPB_MemberType {
UNKNOWN_MEMBER_TYPE,
NON_VOTER,
VOTER,
}Variants
UNKNOWN_MEMBER_TYPENON_VOTERVOTERTrait Implementations
impl Clone for RaftPeerPB_MemberType[src]
fn clone(&self) -> RaftPeerPB_MemberType
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 PartialEq for RaftPeerPB_MemberType[src]
fn eq(&self, __arg_0: &RaftPeerPB_MemberType) -> 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 !=.
impl Eq for RaftPeerPB_MemberType[src]
impl Debug for RaftPeerPB_MemberType[src]
impl Hash for RaftPeerPB_MemberType[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl ProtobufEnum for RaftPeerPB_MemberType[src]
fn value(&self) -> i32
fn from_i32(value: i32) -> Option<RaftPeerPB_MemberType>
fn values() -> &'static [Self]
fn enum_descriptor_static(_: Option<RaftPeerPB_MemberType>)
-> &'static EnumDescriptor
-> &'static EnumDescriptor