pub enum DiskState {
Active,
Degraded,
Failed,
Rebuilding,
Spare,
}Expand description
State of an individual disk in a RAID array.
Variants§
Active
Disk is active and healthy.
Degraded
Disk has some errors but is still functional.
Failed
Disk has failed and is offline.
Rebuilding
Disk is being rebuilt.
Spare
Disk is a hot spare.
Trait Implementations§
impl Copy for DiskState
impl Eq for DiskState
impl StructuralPartialEq for DiskState
Auto Trait Implementations§
impl Freeze for DiskState
impl RefUnwindSafe for DiskState
impl Send for DiskState
impl Sync for DiskState
impl Unpin for DiskState
impl UnwindSafe for DiskState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)