Enum EpType
#[repr(u8)]pub enum EpType {
Bulk = 0,
Control = 1,
Iso = 2,
Interrupt = 3,
}Variants§
Bulk = 0
Bulk endpoint
Control = 1
Control endpoint
Iso = 2
Iso endpoint
Interrupt = 3
Interrupt endpoint
Implementations§
Trait Implementations§
impl Copy for EpType
impl Eq for EpType
§impl Ord for EpType
impl Ord for EpType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for EpType
impl PartialOrd for EpType
impl StructuralPartialEq for EpType
Auto Trait Implementations§
impl Freeze for EpType
impl RefUnwindSafe for EpType
impl Send for EpType
impl Sync for EpType
impl Unpin for EpType
impl UnsafeUnpin for EpType
impl UnwindSafe for EpType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more