#[non_exhaustive]#[repr(u32)]pub enum MmcInterface {
Unspecified = 0,
Scsi = 1,
Atapi = 2,
Ieee1394 = 3,
Ieee1394A = 4,
FibreChannel = 5,
Ieee1394B = 6,
SerialAtapi = 7,
Usb = 8,
VendorUnique = 65_535,
}Available on crate feature
mmc only.Expand description
Physical interface standard reported by MMC.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified = 0
Unspecified
Scsi = 1
SCSI
Atapi = 2
ATAPI
Ieee1394 = 3
IEEE 1394
Ieee1394A = 4
IEEE 1394A
FibreChannel = 5
Fibre Channel
Ieee1394B = 6
IEEE 1394B
SerialAtapi = 7
Serial ATAPI
Usb = 8
USB (both 1.1 and 2.0)
VendorUnique = 65_535
Vendor Unique
Trait Implementations§
Source§impl Clone for MmcInterface
impl Clone for MmcInterface
Source§fn clone(&self) -> MmcInterface
fn clone(&self) -> MmcInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MmcInterface
Source§impl Debug for MmcInterface
impl Debug for MmcInterface
Source§impl Default for MmcInterface
impl Default for MmcInterface
Source§fn default() -> MmcInterface
fn default() -> MmcInterface
Returns the “default value” for a type. Read more
Source§impl Display for MmcInterface
impl Display for MmcInterface
impl Eq for MmcInterface
Source§impl Hash for MmcInterface
impl Hash for MmcInterface
Source§impl Ord for MmcInterface
impl Ord for MmcInterface
Source§fn cmp(&self, other: &MmcInterface) -> Ordering
fn cmp(&self, other: &MmcInterface) -> Ordering
1.21.0 (const: unstable) · 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 MmcInterface
impl PartialEq for MmcInterface
Source§impl PartialOrd for MmcInterface
impl PartialOrd for MmcInterface
impl StructuralPartialEq for MmcInterface
Source§impl TryFrom<u32> for MmcInterface
impl TryFrom<u32> for MmcInterface
Source§type Error = TryFromPrimitiveError<MmcInterface>
type Error = TryFromPrimitiveError<MmcInterface>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for MmcInterface
impl TryFromPrimitive for MmcInterface
const NAME: &'static str = "MmcInterface"
type Primitive = u32
type Error = TryFromPrimitiveError<MmcInterface>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for MmcInterface
impl RefUnwindSafe for MmcInterface
impl Send for MmcInterface
impl Sync for MmcInterface
impl Unpin for MmcInterface
impl UnsafeUnpin for MmcInterface
impl UnwindSafe for MmcInterface
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