pub struct UsbInfo {
pub vid: u16,
pub pid: u16,
pub path: Option<String>,
}
Expand description
Basic USB device information
Fields§
§vid: u16
USB Device Vendor ID (VID) in hex
pid: u16
USB Device Product ID (PID) in hex
path: Option<String>
Device path
Trait Implementations§
impl StructuralPartialEq for UsbInfo
Auto Trait Implementations§
impl Freeze for UsbInfo
impl RefUnwindSafe for UsbInfo
impl Send for UsbInfo
impl Sync for UsbInfo
impl Unpin for UsbInfo
impl UnwindSafe for UsbInfo
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