Enum block_utils::MediaType[][src]

pub enum MediaType {
    SolidState,
    Rotational,
    Loopback,
    LVM,
    MdRaid,
    NVME,
    Ram,
    Virtual,
    Unknown,
}

What type of media has been detected.

Variants

AKA SSD

Regular rotational device

Special loopback device

Trait Implementations

impl Clone for MediaType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MediaType
[src]

Formats the value using the given formatter. Read more

impl Eq for MediaType
[src]

impl PartialEq for MediaType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for MediaType

impl Sync for MediaType