pub struct UsbHostDevice {
pub bus: u16,
pub address: u16,
}Expand description
Exact Linux USB bus and device address assigned to a guest.
Fields§
§bus: u16Linux USB bus number.
address: u16Device address on the bus.
Trait Implementations§
Source§impl Clone for UsbHostDevice
impl Clone for UsbHostDevice
impl Copy for UsbHostDevice
Source§impl Debug for UsbHostDevice
impl Debug for UsbHostDevice
Source§impl<'de> Deserialize<'de> for UsbHostDevice
impl<'de> Deserialize<'de> for UsbHostDevice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UsbHostDevice
Source§impl PartialEq for UsbHostDevice
impl PartialEq for UsbHostDevice
Source§impl Serialize for UsbHostDevice
impl Serialize for UsbHostDevice
impl StructuralPartialEq for UsbHostDevice
Auto Trait Implementations§
impl Forget for UsbHostDevice
impl Freeze for UsbHostDevice
impl Move for UsbHostDevice
impl RefUnwindSafe for UsbHostDevice
impl Send for UsbHostDevice
impl Sync for UsbHostDevice
impl Unpin for UsbHostDevice
impl UnsafeUnpin for UsbHostDevice
impl UnwindSafe for UsbHostDevice
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