[−][src]Enum usbd_mass_storage::InterfaceSubclass
This specifies the subclass of the USB interface
Section 2 USB Mass Storage Class Overview
Variants
SCSI command set not reported. De facto use
Allocated by USB-IF for RBC. RBC is defined outside of USB
Allocated by USB-IF for MMC-5. MMC-5 is defined outside of USB
Specifies how to interface Floppy Disk Drives to USB
Allocated by USB-IF for SCSI. SCSI standards are defined outside of USB
LSDFS specifies how host has to negotiate access before trying SCSI
Allocated by USB-IF for IEEE 1667. IEEE 1667 is defined outside of USB
Specific to device vendor. De facto use
Methods
impl InterfaceSubclass
[src]
pub fn to_primitive(&self) -> u8
[src]
pub fn from_primitive(num: u8) -> Result<Self, Error>
[src]
Trait Implementations
impl Clone for InterfaceSubclass
[src]
fn clone(&self) -> InterfaceSubclass
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InterfaceSubclass
[src]
impl Debug for InterfaceSubclass
[src]
impl Eq for InterfaceSubclass
[src]
impl PackedBytes<[u8; 1]> for InterfaceSubclass
[src]
type Error = Error
fn to_bytes<En: Endian>(&self) -> Result<[u8; 1], Self::Error>
[src]
fn from_bytes<En: Endian>(bytes: [u8; 1]) -> Result<Self, Self::Error>
[src]
impl PackedSize for InterfaceSubclass
[src]
impl PartialEq<InterfaceSubclass> for InterfaceSubclass
[src]
fn eq(&self, other: &InterfaceSubclass) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for InterfaceSubclass
[src]
impl StructuralPartialEq for InterfaceSubclass
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,