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
SolidStateAKA SSD
RotationalRegular rotational device
LoopbackSpecial loopback device
LVMMdRaidNVMERamVirtualUnknown
Trait Implementations
impl Clone for MediaType[src]
impl Clone for MediaTypefn clone(&self) -> MediaType[src]
fn clone(&self) -> MediaTypeReturns 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 Debug for MediaType[src]
impl Debug for MediaTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for MediaType[src]
impl Eq for MediaTypeimpl PartialEq for MediaType[src]
impl PartialEq for MediaType