Enum raft_consensus::message::CommandResponse[][src]

pub enum CommandResponse {
    Success(Vec<u8>),
    Queued,
    UnknownLeader,
    NotLeader(ServerId),
}

Response to client command

Variants

Trait Implementations

impl Clone for CommandResponse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CommandResponse
[src]

Formats the value using the given formatter. Read more

impl PartialEq for CommandResponse
[src]

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

This method tests for !=.

Auto Trait Implementations