pub struct USBHost { /* private fields */ }Implementations§
Source§impl USBHost
impl USBHost
pub fn from_trait(raw: impl Controller) -> Self
pub fn new_xhci(mmio_base: NonNull<u8>) -> Self
pub async fn init(&mut self) -> Result<(), USBError>
pub async fn device_list( &mut self, ) -> Result<impl Iterator<Item = DeviceInfo>, USBError>
pub fn event_handler(&mut self) -> EventHandler
Trait Implementations§
Auto Trait Implementations§
impl Freeze for USBHost
impl !RefUnwindSafe for USBHost
impl Send for USBHost
impl !Sync for USBHost
impl Unpin for USBHost
impl !UnwindSafe for USBHost
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