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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MediaType
[src]

[src]

Formats the value using the given formatter.

impl Eq for MediaType
[src]

impl PartialEq for MediaType
[src]

[src]

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

1.0.0
[src]

This method tests for !=.