Enum raft::Error []

pub enum Error {
    Io(Error),
    Store(StorageError),
    StepLocalMsg,
    StepPeerNotFound,
    ProposalDropped,
    ConfigInvalid(String),
    Codec(ProtobufError),
}

Variants

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for Error

Performs the conversion.

impl From<StorageError> for Error

Performs the conversion.

impl From<ProtobufError> for Error

Performs the conversion.

impl PartialEq for Error
[src]

[src]

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

1.0.0
[src]

This method tests for !=.