pub struct DeviceList<T>where
T: UsbContext,{ /* private fields */ }Expand description
A list of detected USB devices.
Implementations§
Source§impl DeviceList<GlobalContext>
impl DeviceList<GlobalContext>
pub fn new() -> Result<DeviceList<GlobalContext>, Error>
Source§impl<T> DeviceList<T>where
T: UsbContext,
impl<T> DeviceList<T>where
T: UsbContext,
pub fn new_with_context(context: T) -> Result<DeviceList<T>, Error>
Trait Implementations§
Source§impl<T> Drop for DeviceList<T>where
T: UsbContext,
impl<T> Drop for DeviceList<T>where
T: UsbContext,
Auto Trait Implementations§
impl<T> !Send for DeviceList<T>
impl<T> !Sync for DeviceList<T>
impl<T> Freeze for DeviceList<T>where
T: Freeze,
impl<T> RefUnwindSafe for DeviceList<T>where
T: RefUnwindSafe,
impl<T> Unpin for DeviceList<T>where
T: Unpin,
impl<T> UnsafeUnpin for DeviceList<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DeviceList<T>where
T: UnwindSafe,
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