pub enum EP_TYPER {
BULK,
CONTROL,
ISO,
INTERRUPT,
}
Expand description
Possible values of the field EP_TYPE
Variants§
BULK
This endpoint is a bulk endpoint
CONTROL
This endpoint is a control endpoint
ISO
This endpoint is an isochronous endpoint
INTERRUPT
This endpoint is an interrupt endpoint
Implementations§
Source§impl EP_TYPER
impl EP_TYPER
Sourcepub fn is_control(&self) -> bool
pub fn is_control(&self) -> bool
Checks if the value of the field is CONTROL
Sourcepub fn is_interrupt(&self) -> bool
pub fn is_interrupt(&self) -> bool
Checks if the value of the field is INTERRUPT
Trait Implementations§
impl Copy for EP_TYPER
impl StructuralPartialEq for EP_TYPER
Auto Trait Implementations§
impl Freeze for EP_TYPER
impl RefUnwindSafe for EP_TYPER
impl Send for EP_TYPER
impl Sync for EP_TYPER
impl Unpin for EP_TYPER
impl UnwindSafe for EP_TYPER
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