Enum sysinfo::DiskType [] [src]

pub enum DiskType {
    HDD,
    SSD,
    Unknown(isize),
}

Enum containing the different handled disks types.

Variants

HDD type.

SSD type.

Unknown type.

Trait Implementations

impl Debug for DiskType
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DiskType
[src]

[src]

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

[src]

This method tests for !=.

impl Clone for DiskType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DiskType
[src]

impl From<isize> for DiskType
[src]

[src]

Performs the conversion.