pub struct UsbHost<'d, I: Instance> { /* private fields */ }Expand description
USB host driver.
Implementations§
Source§impl<'d, I: SealedHostInstance> UsbHost<'d, I>
impl<'d, I: SealedHostInstance> UsbHost<'d, I>
Trait Implementations§
Source§impl<'d, I: SealedHostInstance> UsbHostController<'d> for UsbHost<'d, I>
impl<'d, I: SealedHostInstance> UsbHostController<'d> for UsbHost<'d, I>
Source§async fn wait_for_device_event(&mut self) -> DeviceEvent
async fn wait_for_device_event(&mut self) -> DeviceEvent
Wait for a root-port attach/detach. Read more
Auto Trait Implementations§
impl<'d, I> Freeze for UsbHost<'d, I>
impl<'d, I> RefUnwindSafe for UsbHost<'d, I>where
I: RefUnwindSafe,
impl<'d, I> Send for UsbHost<'d, I>where
I: Send,
impl<'d, I> Sync for UsbHost<'d, I>where
I: Sync,
impl<'d, I> Unpin for UsbHost<'d, I>
impl<'d, I> !UnwindSafe for UsbHost<'d, I>
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