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 PartialEq for DiskType
[src]
fn eq(&self, __arg_0: &DiskType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DiskType) -> bool
This method tests for !=
.
impl Clone for DiskType
[src]
fn clone(&self) -> DiskType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more