pub struct UsbHostDeviceHandler { /* private fields */ }
Expand description
A handler to pass requests to a USB device of the host
Implementations§
Source§impl UsbHostDeviceHandler
impl UsbHostDeviceHandler
pub fn new(handle: Arc<Mutex<DeviceHandle<GlobalContext>>>) -> Self
Trait Implementations§
Source§impl Clone for UsbHostDeviceHandler
impl Clone for UsbHostDeviceHandler
Source§fn clone(&self) -> UsbHostDeviceHandler
fn clone(&self) -> UsbHostDeviceHandler
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UsbHostDeviceHandler
impl RefUnwindSafe for UsbHostDeviceHandler
impl Send for UsbHostDeviceHandler
impl Sync for UsbHostDeviceHandler
impl Unpin for UsbHostDeviceHandler
impl UnwindSafe for UsbHostDeviceHandler
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