Struct usbapi::os::linux::usb_device::UsbDevice [−][src]
Fields
bus_num: u8
dev_num: u8
manufacturer: String
product: String
serial: String
device: Device
Implementations
impl UsbDevice
[src]
pub fn from_usbcore(usb: &mut UsbCore) -> Result<Self, Error>
[src]
Trait Implementations
impl Debug for UsbDevice
[src]
impl<'de> Deserialize<'de> for UsbDevice
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for UsbDevice
[src]
impl Serialize for UsbDevice
[src]
Auto Trait Implementations
impl RefUnwindSafe for UsbDevice
impl Send for UsbDevice
impl Sync for UsbDevice
impl Unpin for UsbDevice
impl UnwindSafe for UsbDevice
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,