Enum raft::eraftpb::MessageType[][src]

pub enum MessageType {
    MsgHup,
    MsgBeat,
    MsgPropose,
    MsgAppend,
    MsgAppendResponse,
    MsgRequestVote,
    MsgRequestVoteResponse,
    MsgSnapshot,
    MsgHeartbeat,
    MsgHeartbeatResponse,
    MsgUnreachable,
    MsgSnapStatus,
    MsgCheckQuorum,
    MsgTransferLeader,
    MsgTimeoutNow,
    MsgReadIndex,
    MsgReadIndexResp,
    MsgRequestPreVote,
    MsgRequestPreVoteResponse,
}

Variants

Trait Implementations

impl Clone for MessageType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MessageType
[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 MessageType
[src]

impl Debug for MessageType
[src]

Formats the value using the given formatter. Read more

impl Hash for MessageType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl ProtobufEnum for MessageType
[src]

Get enum i32 value.

Try to create an enum from i32 value. Return None if value is unknown. Read more

Get all enum values for enum type.

Get enum descriptor by type.

Get enum value descriptor.

Get enum descriptor.

impl Copy for MessageType
[src]

impl Default for MessageType
[src]

Returns the "default value" for a type. Read more

impl ProtobufValue for MessageType
[src]

Auto Trait Implementations

impl Send for MessageType

impl Sync for MessageType