Enum sysinfo::DiskType [−][src]
pub enum DiskType { HDD, SSD, Unknown(isize), }
Enum containing the different handled disks types.
Variants
HDD
HDD type.
SSD
SSD type.
Unknown(isize)
Unknown type.
Trait Implementations
impl Debug for DiskType
[src]
impl Debug for DiskType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DiskType
[src]
impl PartialEq for DiskType
fn eq(&self, other: &DiskType) -> bool
[src]
fn eq(&self, other: &DiskType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DiskType) -> bool
[src]
fn ne(&self, other: &DiskType) -> bool
This method tests for !=
.
impl Clone for DiskType
[src]
impl Clone for DiskType
fn clone(&self) -> DiskType
[src]
fn clone(&self) -> DiskType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for DiskType
[src]
impl Copy for DiskType
impl From<isize> for DiskType
[src]
impl From<isize> for DiskType