Enum bee_storage::system::StorageHealth [−][src]
#[repr(u8)]
pub enum StorageHealth {
Healthy,
Idle,
Corrupted,
}Expand description
Represents different health states for a StorageBackend.
Variants
The storage is in a healthy state.
The storage is running and the health status is idle.
The storage has been corrupted.
Trait Implementations
Returns the length of the packed bytes.
Packs the instance to bytes and writes them to the passed writer.
Reads bytes from the passed reader and unpacks them into an instance.
Packs the instance to bytes and writes them to a newly allocated vector.
Reads bytes from the passed reader and unpacks them into an instance. Applies syntactic checks. Read more
Auto Trait Implementations
impl RefUnwindSafe for StorageHealthimpl Send for StorageHealthimpl Sync for StorageHealthimpl Unpin for StorageHealthimpl UnwindSafe for StorageHealthBlanket Implementations
Mutably borrows from an owned value. Read more