[][src]Enum usbd_mass_storage::InterfaceSubclass

pub enum InterfaceSubclass {
    ScsiCommandSetNotReported,
    Rbc,
    Mmc5Atapi,
    Ufi,
    ScsiTransparentCommandSet,
    LsdFs,
    Ieee1667,
    VendorSpecific,
}

This specifies the subclass of the USB interface

Section 2 USB Mass Storage Class Overview

Variants

ScsiCommandSetNotReported

SCSI command set not reported. De facto use

Rbc

Allocated by USB-IF for RBC. RBC is defined outside of USB

Mmc5Atapi

Allocated by USB-IF for MMC-5. MMC-5 is defined outside of USB

Ufi

Specifies how to interface Floppy Disk Drives to USB

ScsiTransparentCommandSet

Allocated by USB-IF for SCSI. SCSI standards are defined outside of USB

LsdFs

LSDFS specifies how host has to negotiate access before trying SCSI

Ieee1667

Allocated by USB-IF for IEEE 1667. IEEE 1667 is defined outside of USB

VendorSpecific

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]

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

impl PackedSize for InterfaceSubclass[src]

impl PartialEq<InterfaceSubclass> for InterfaceSubclass[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.