pub struct HubRoute {
pub hub: DeviceAddress,
pub port: u8,
pub translator: Option<Translator>,
}Expand description
Where a device sits below the root port.
Fields§
§hub: DeviceAddressAddress of the hub the device is attached to.
port: u8One-based port number on that hub.
translator: Option<Translator>The translator that handles this device, when it runs at FS/LS behind a
high-speed hub. A controller without split support reports
HostError::Unsupported when
this is set.
Trait Implementations§
impl Copy for HubRoute
impl Eq for HubRoute
impl StructuralPartialEq for HubRoute
Auto Trait Implementations§
impl Forget for HubRoute
impl Freeze for HubRoute
impl Move for HubRoute
impl RefUnwindSafe for HubRoute
impl Send for HubRoute
impl Sync for HubRoute
impl Unpin for HubRoute
impl UnsafeUnpin for HubRoute
impl UnwindSafe for HubRoute
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