[][src]Enum lsm::RaidType

#[repr(i32)]
pub enum RaidType {
    Unknown,
    Raid0,
    Raid1,
    Raid3,
    Raid4,
    Raid5,
    Raid6,
    Raid10,
    Raid15,
    Raid16,
    Raid50,
    Raid60,
    Raid51,
    Raid61,
    Jbod,
    Mixed,
    Other,
}

Represent a RAID type.

Variants

Unknown

Plugin failed to detect RAID type.

Raid0

RAID 0

Raid1

Two disk mirror.

Raid3

Byte-level striping with dedicated parity.

Raid4

Block-level striping with dedicated parity.

Raid5

Block-level striping with distributed parity.

Raid6

Block-level striping with two distributed parities. Also known as RAID-DP.

Raid10

Stripe of mirrors.

Raid15

Parity of mirrors.

Raid16

Dual parity of mirrors.

Raid50

Stripe of parities.

Raid60

Stripe of dual parities.

Raid51

Mirror of parities.

Raid61

Mirror of dual parities.

Jbod

Just bunch of disks, no parity, no striping.

Mixed

This volume contains multiple RAID settings.

Other

Vendor specific RAID type

Trait Implementations

impl Clone for RaidType[src]

impl Copy for RaidType[src]

impl Debug for RaidType[src]

impl From<i32> for RaidType[src]

impl PartialEq<RaidType> for RaidType[src]

impl StructuralPartialEq for RaidType[src]

Auto Trait Implementations

impl RefUnwindSafe for RaidType

impl Send for RaidType

impl Sync for RaidType

impl Unpin for RaidType

impl UnwindSafe for RaidType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.