pub enum SlotLength {
Other,
Unknown,
ShortLength,
LongLength,
DriveFormFactor2_5,
DriveFormFactor3_5,
Undefined(u8),
}
Variants§
Other
Unknown
ShortLength
LongLength
DriveFormFactor2_5
2.5“ drive form factor
DriveFormFactor3_5
3.5“ drive form factor
Undefined(u8)
Trait Implementations§
Source§impl Clone for SlotLength
impl Clone for SlotLength
Source§fn clone(&self) -> SlotLength
fn clone(&self) -> SlotLength
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 SlotLength
impl Debug for SlotLength
Source§impl Display for SlotLength
impl Display for SlotLength
Source§impl From<u8> for SlotLength
impl From<u8> for SlotLength
Source§fn from(byte: u8) -> SlotLength
fn from(byte: u8) -> SlotLength
Converts to this type from the input type.
Source§impl Hash for SlotLength
impl Hash for SlotLength
Source§impl PartialEq for SlotLength
impl PartialEq for SlotLength
impl Copy for SlotLength
impl Eq for SlotLength
impl StructuralPartialEq for SlotLength
Auto Trait Implementations§
impl Freeze for SlotLength
impl RefUnwindSafe for SlotLength
impl Send for SlotLength
impl Sync for SlotLength
impl Unpin for SlotLength
impl UnwindSafe for SlotLength
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