Enum raft::Error
[−]
pub enum Error { Io(Error), Store(StorageError), StepLocalMsg, StepPeerNotFound, ProposalDropped, ConfigInvalid(String), Codec(ProtobufError), }
Variants
Io(Error)
Store(StorageError)
StepLocalMsg
StepPeerNotFound
ProposalDropped
ConfigInvalid(String)
Codec(ProtobufError)
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
impl From<StorageError> for Error
fn from(err: StorageError) -> Error
Performs the conversion.
impl From<ProtobufError> for Error
fn from(err: ProtobufError) -> Error
Performs the conversion.