Enum raft::StorageError[][src]

[]
pub enum StorageError {
    Compacted,
    Unavailable,
    SnapshotOutOfDate,
    SnapshotTemporarilyUnavailable,
    Other(Box<dyn Error + Sync + Send>),
}
[]

An error with the storage.

Variants

Compacted
[]

The storage was compacted and not accessible

Unavailable
[]

The log is not available.

SnapshotOutOfDate
[]

The snapshot is out of date.

SnapshotTemporarilyUnavailable
[]

The snapshot is being created.

Other(Box<dyn Error + Sync + Send>)
[]

Some other error occurred.

Trait Implementations

impl Debug for StorageError[src][+]

impl Display for StorageError[src][+]

impl Error for StorageError[src][+]

impl From<Box<dyn Error + 'static + Sync + Send, Global>> for StorageError[src][+]

impl From<StorageError> for Error[src][+]

impl PartialEq<StorageError> for StorageError[src][+]

Auto Trait Implementations

impl !RefUnwindSafe for StorageError

impl Send for StorageError

impl Sync for StorageError

impl Unpin for StorageError

impl !UnwindSafe for StorageError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> ToString for T where
    T: Display + ?Sized
[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]