Struct embassy_usb_synopsys_otg::Endpoint
source ยท 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