[−][src]Enum usb_device::endpoint::EndpointType
USB endpoint transfer type. The values of this enum can be directly cast into u8
to get the
transfer bmAttributes transfer type bits.
Variants
Control endpoint. Used for device management. Only the host can initiate requests. Usually used only endpoint 0.
Isochronous endpoint. Used for time-critical unreliable data. Not implemented yet.
Bulk endpoint. Used for large amounts of best-effort reliable data.
Interrupt endpoint. Used for small amounts of time-critical reliable data.
Trait Implementations
impl Clone for EndpointType
[src]
fn clone(&self) -> EndpointType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for EndpointType
[src]
impl Debug for EndpointType
[src]
impl Eq for EndpointType
[src]
impl PartialEq<EndpointType> for EndpointType
[src]
fn eq(&self, other: &EndpointType) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for EndpointType
[src]
impl StructuralPartialEq for EndpointType
[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, 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>,