pub enum MediumType {
NVM,
NvmeSSD,
SataSSD,
HDD,
}Expand description
Types of storage media.
Variants§
Trait Implementations§
Source§impl Clone for MediumType
impl Clone for MediumType
Source§fn clone(&self) -> MediumType
fn clone(&self) -> MediumType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MediumType
impl Debug for MediumType
Source§impl<'de> Deserialize<'de> for MediumType
impl<'de> Deserialize<'de> for MediumType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MediumType
impl Display for MediumType
Source§impl Hash for MediumType
impl Hash for MediumType
Source§impl Ord for MediumType
impl Ord for MediumType
Source§fn cmp(&self, other: &MediumType) -> Ordering
fn cmp(&self, other: &MediumType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MediumType
impl PartialEq for MediumType
Source§impl PartialOrd for MediumType
impl PartialOrd for MediumType
Source§impl Serialize for MediumType
impl Serialize for MediumType
impl Copy for MediumType
impl Eq for MediumType
impl StructuralPartialEq for MediumType
Auto Trait Implementations§
impl Freeze for MediumType
impl RefUnwindSafe for MediumType
impl Send for MediumType
impl Sync for MediumType
impl Unpin for MediumType
impl UnsafeUnpin for MediumType
impl UnwindSafe for MediumType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more