pub enum RaidError {
NotEnoughDisks,
ArrayDegraded,
ArrayFailed,
DiskNotFound,
InvalidAddress,
AlreadyExists,
NotFound,
IoError,
InvalidConfig,
}Expand description
RAID error type.
Variants§
NotEnoughDisks
Not enough disks for the RAID level.
ArrayDegraded
Array is degraded and cannot tolerate more failures.
ArrayFailed
Array has failed (too many disk failures).
DiskNotFound
Disk not found.
InvalidAddress
Invalid block address.
AlreadyExists
Array already exists.
NotFound
Array not found.
IoError
I/O error on disk.
InvalidConfig
Invalid configuration.
Trait Implementations§
impl Copy for RaidError
impl Eq for RaidError
impl StructuralPartialEq for RaidError
Auto Trait Implementations§
impl Freeze for RaidError
impl RefUnwindSafe for RaidError
impl Send for RaidError
impl Sync for RaidError
impl Unpin for RaidError
impl UnwindSafe for RaidError
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)