pub struct Endpoint<'d, D> { /* private fields */ }
Expand description
USB endpoint.
Trait Implementations§
source§impl<'d> Endpoint for Endpoint<'d, In>
impl<'d> Endpoint for Endpoint<'d, In>
source§fn info(&self) -> &EndpointInfo
fn info(&self) -> &EndpointInfo
Get the endpoint address
source§async fn wait_enabled(&mut self)
async fn wait_enabled(&mut self)
Wait for the endpoint to be enabled.
source§impl<'d> Endpoint for Endpoint<'d, Out>
impl<'d> Endpoint for Endpoint<'d, Out>
source§fn info(&self) -> &EndpointInfo
fn info(&self) -> &EndpointInfo
Get the endpoint address
source§async fn wait_enabled(&mut self)
async fn wait_enabled(&mut self)
Wait for the endpoint to be enabled.
source§impl<'d> EndpointIn for Endpoint<'d, In>
impl<'d> EndpointIn for Endpoint<'d, In>
Auto Trait Implementations§
impl<'d, D> Freeze for Endpoint<'d, D>
impl<'d, D> !RefUnwindSafe for Endpoint<'d, D>
impl<'d, D> Send for Endpoint<'d, D>where
D: Send,
impl<'d, D> Sync for Endpoint<'d, D>where
D: Sync,
impl<'d, D> Unpin for Endpoint<'d, D>where
D: Unpin,
impl<'d, D> !UnwindSafe for Endpoint<'d, D>
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