pub enum HealthStatus {
Unknown = -1,
Fail = 0,
Warn = 1,
Good = 2,
}
Expand description
Possible health status of any disk.
Variants§
Unknown = -1
Unknown
Fail = 0
Device self reports failure
Warn = 1
Device self reports warning
Good = 2
Device self reports good
Trait Implementations§
source§impl Clone for HealthStatus
impl Clone for HealthStatus
source§fn clone(&self) -> HealthStatus
fn clone(&self) -> HealthStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HealthStatus
impl Debug for HealthStatus
source§impl PartialEq for HealthStatus
impl PartialEq for HealthStatus
source§impl TryFrom<i32> for HealthStatus
impl TryFrom<i32> for HealthStatus
impl Copy for HealthStatus
impl Eq for HealthStatus
impl StructuralPartialEq for HealthStatus
Auto Trait Implementations§
impl Freeze for HealthStatus
impl RefUnwindSafe for HealthStatus
impl Send for HealthStatus
impl Sync for HealthStatus
impl Unpin for HealthStatus
impl UnwindSafe for HealthStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)