pub enum IOCommandSet {
NVMCommandSet = 0,
AllSupported = 6,
AdminOnly = 7,
}Variants§
Trait Implementations§
Source§impl CheckDiscriminantInRange<BitCount<AdminOnly>> for IOCommandSet
impl CheckDiscriminantInRange<BitCount<AdminOnly>> for IOCommandSet
Source§impl CheckDiscriminantInRange<BitCount<AllSupported>> for IOCommandSet
impl CheckDiscriminantInRange<BitCount<AllSupported>> for IOCommandSet
Source§impl CheckDiscriminantInRange<BitCount<NVMCommandSet>> for IOCommandSet
impl CheckDiscriminantInRange<BitCount<NVMCommandSet>> for IOCommandSet
Source§impl Clone for IOCommandSet
impl Clone for IOCommandSet
Source§fn clone(&self) -> IOCommandSet
fn clone(&self) -> IOCommandSet
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 IOCommandSet
impl Debug for IOCommandSet
Source§impl Specifier for IOCommandSet
impl Specifier for IOCommandSet
Source§type Bytes = <BitCount<3> as SpecifierBytes>::Bytes
type Bytes = <BitCount<3> as SpecifierBytes>::Bytes
The storage type. This is typically the smallest integer primitive that
can store all possible values of the
InOut type.Source§type InOut = IOCommandSet
type InOut = IOCommandSet
The interface type. This type is used by getters and setters. For
integers, this is the same as the
Bytes type; for other
types with more logical representations, like an enum or struct, this is
the enum or struct.Source§fn into_bytes(
input: <Self as Specifier>::InOut,
) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
fn into_bytes( input: <Self as Specifier>::InOut, ) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
Converts an interface type into its storage type. Read more
Source§fn from_bytes(
bytes: <Self as Specifier>::Bytes,
) -> Result<<Self as Specifier>::InOut, InvalidBitPattern<<Self as Specifier>::Bytes>>
fn from_bytes( bytes: <Self as Specifier>::Bytes, ) -> Result<<Self as Specifier>::InOut, InvalidBitPattern<<Self as Specifier>::Bytes>>
Converts a storage type into its interface type. Read more
impl Copy for IOCommandSet
Auto Trait Implementations§
impl Freeze for IOCommandSet
impl RefUnwindSafe for IOCommandSet
impl Send for IOCommandSet
impl Sync for IOCommandSet
impl Unpin for IOCommandSet
impl UnwindSafe for IOCommandSet
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