Enum raft::Error [−][src]
pub enum Error { Io(Error), Store(StorageError), StepLocalMsg, StepPeerNotFound, ProposalDropped, ConfigInvalid(String), CodecError(ProtobufError), Exists { id: u64, set: &'static str, }, NotExists { id: u64, set: &'static str, }, ConfChangeError(String), RequestSnapshotDropped, }
Expand description
The base error type for raft
Variants
Io(Error)
An IO error occurred
Store(StorageError)
A storage error occurred.
Raft cannot step the local message.
The raft peer is not found and thus cannot step.
The proposal of changes was dropped.
ConfigInvalid(String)
The configuration is invalid.
CodecError(ProtobufError)
A protobuf message codec failed in some manner.
The node exists, but should not.
The node does not exist, but should.
ConfChangeError(String)
ConfChange proposal is invalid.
The request snapshot is dropped.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error