#[repr(i32)]pub enum RaidType {
Show 17 variants
Unknown = -1,
Raid0 = 0,
Raid1 = 1,
Raid3 = 3,
Raid4 = 4,
Raid5 = 5,
Raid6 = 6,
Raid10 = 10,
Raid15 = 15,
Raid16 = 16,
Raid50 = 50,
Raid60 = 60,
Raid51 = 51,
Raid61 = 61,
Jbod = 20,
Mixed = 21,
Other = 22,
}
Expand description
Represent a RAID type.
Variants§
Unknown = -1
Plugin failed to detect RAID type.
Raid0 = 0
Raid1 = 1
Two disk mirror.
Raid3 = 3
Byte-level striping with dedicated parity.
Raid4 = 4
Block-level striping with dedicated parity.
Raid5 = 5
Block-level striping with distributed parity.
Raid6 = 6
Block-level striping with two distributed parities. Also known as RAID-DP.
Raid10 = 10
Stripe of mirrors.
Raid15 = 15
Parity of mirrors.
Raid16 = 16
Dual parity of mirrors.
Raid50 = 50
Stripe of parities.
Raid60 = 60
Stripe of dual parities.
Raid51 = 51
Mirror of parities.
Raid61 = 61
Mirror of dual parities.
Jbod = 20
Just bunch of disks, no parity, no striping.
Mixed = 21
This volume contains multiple RAID settings.
Other = 22
Vendor specific RAID type
Trait Implementations§
impl Copy for RaidType
impl StructuralPartialEq for RaidType
Auto Trait Implementations§
impl Freeze for RaidType
impl RefUnwindSafe for RaidType
impl Send for RaidType
impl Sync for RaidType
impl Unpin for RaidType
impl UnwindSafe for RaidType
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
)