pub struct Driver<'d, T: Instance> { /* private fields */ }Expand description
RP2040 USB host driver handle.
Implementations§
Trait Implementations§
Source§impl<'d, T: SealedHostInstance> UsbHostController<'d> for Driver<'d, T>
impl<'d, T: SealedHostInstance> UsbHostController<'d> for Driver<'d, T>
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, T> !UnwindSafe for Driver<'d, T>
impl<'d, T> Freeze for Driver<'d, T>
impl<'d, T> RefUnwindSafe for Driver<'d, T>
impl<'d, T> Send for Driver<'d, T>
impl<'d, T> Sync for Driver<'d, T>
impl<'d, T> Unpin for Driver<'d, T>
impl<'d, T> UnsafeUnpin for Driver<'d, T>
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