[−][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
Control endpoint. Used for device management. Only the host can initiate requests. Usually used only endpoint 0.
Isochronous
Isochronous endpoint. Used for time-critical unreliable data. Not implemented yet.
Bulk
Bulk endpoint. Used for large amounts of best-effort reliable data.
Interrupt
Interrupt endpoint. Used for small amounts of time-critical reliable data.
Trait Implementations
impl Debug 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]
This method tests for !=
.
impl Eq for EndpointType
[src]
impl Copy for EndpointType
[src]
impl Clone for EndpointType
[src]
fn clone(&self) -> EndpointType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,