Enum bee_storage::health::StorageHealth [−][src]
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
impl Clone for StorageHealth[src]
fn clone(&self) -> StorageHealth[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[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.
fn packed_len(&self) -> usize[src]
fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>[src]
fn unpack_inner<R: Read + ?Sized, const CHECK: bool>(
reader: &mut R
) -> Result<Self, Self::Error>[src]
reader: &mut R
) -> Result<Self, Self::Error>
pub fn pack_new(&self) -> Vec<u8, Global>[src]
pub fn unpack<R>(reader: &mut R) -> Result<Self, Self::Error> where
R: Read + ?Sized, [src]
R: Read + ?Sized,
pub fn unpack_unchecked<R>(reader: &mut R) -> Result<Self, Self::Error> where
R: Read + ?Sized, [src]
R: Read + ?Sized,
impl PartialEq<StorageHealth> for StorageHealth[src]
fn eq(&self, other: &StorageHealth) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for StorageHealth[src]
impl StructuralPartialEq for StorageHealth[src]
Auto Trait Implementations
impl RefUnwindSafe for StorageHealth
impl Send for StorageHealth
impl Sync for StorageHealth
impl Unpin for StorageHealth
impl UnwindSafe for StorageHealth
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,