Enum block_utils::MediaType
source · pub enum MediaType {
SolidState,
Rotational,
Loopback,
LVM,
MdRaid,
NVME,
Ram,
Virtual,
Unknown,
}
Expand description
What type of media has been detected.
Variants
SolidState
AKA SSD
Rotational
Regular rotational device
Loopback
Special loopback device
LVM
MdRaid
NVME
Ram
Virtual
Unknown
Trait Implementations
impl Eq for MediaType
impl StructuralEq for MediaType
impl StructuralPartialEq for MediaType
Auto Trait Implementations
impl RefUnwindSafe for MediaType
impl Send for MediaType
impl Sync for MediaType
impl Unpin for MediaType
impl UnwindSafe for MediaType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more