[−][src]Enum usbd_mass_storage::InterfaceProtocol
This specifies the protocol of the USB interface
Section 3 USB Mass Storage Class Overview
Variants
USB Mass Storage Class Control/Bulk/Interrupt (CBI) Transport (with command completion interrupt)
USB Mass Storage Class Control/Bulk/Interrupt (CBI) Transport (with no command completion interrupt)
USB Mass Storage Class Bulk-Only (BBB) Transport
Allocated by USB-IF for UAS. UAS is defined outside of USB
Specific to device vendor. De facto use
Methods
impl InterfaceProtocol
[src]
pub fn to_primitive(&self) -> u8
[src]
pub fn from_primitive(num: u8) -> Result<Self, Error>
[src]
Trait Implementations
impl Clone for InterfaceProtocol
[src]
fn clone(&self) -> InterfaceProtocol
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InterfaceProtocol
[src]
impl Debug for InterfaceProtocol
[src]
impl Eq for InterfaceProtocol
[src]
impl PackedBytes<[u8; 1]> for InterfaceProtocol
[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 InterfaceProtocol
[src]
impl PartialEq<InterfaceProtocol> for InterfaceProtocol
[src]
fn eq(&self, other: &InterfaceProtocol) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for InterfaceProtocol
[src]
impl StructuralPartialEq for InterfaceProtocol
[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>,