Enum bee_storage::health::StorageHealth[][src]

#[repr(u8)]pub enum StorageHealth {
    Healthy,
    Idle,
    Corrupted,
}

Represents different health states for a StorageBackend.

Variants

Healthy

The storage is in a healthy state.

Idle

The storage is running and the health status is idle.

Corrupted

The storage has been corrupted.

Trait Implementations

impl Clone for StorageHealth[src]

impl Copy for StorageHealth[src]

impl Debug for StorageHealth[src]

impl Eq for StorageHealth[src]

impl Packable for StorageHealth[src]

type Error = Error

Associated error type.

impl PartialEq<StorageHealth> for StorageHealth[src]

impl StructuralEq for StorageHealth[src]

impl StructuralPartialEq for StorageHealth[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.