Struct embassy_stm32::usb_otg::Endpoint
source · pub struct Endpoint<'d, T: Instance, D> { /* private fields */ }
Expand description
USB endpoint.
Trait Implementations§
source§impl<'d, T: Instance> Endpoint for Endpoint<'d, T, In>
impl<'d, T: Instance> Endpoint for Endpoint<'d, T, 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, T: Instance> Endpoint for Endpoint<'d, T, Out>
impl<'d, T: Instance> Endpoint for Endpoint<'d, T, 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.
Auto Trait Implementations§
impl<'d, T, D> RefUnwindSafe for Endpoint<'d, T, D>where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<'d, T, D> Send for Endpoint<'d, T, D>
impl<'d, T, D> Sync for Endpoint<'d, T, D>
impl<'d, T, D> Unpin for Endpoint<'d, T, D>where
D: Unpin,
impl<'d, T, D> !UnwindSafe for Endpoint<'d, T, 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