pub struct Place {
pub root: u8,
pub hub: u8,
pub slot: u8,
pub in_addr: u8,
pub in_mps: u16,
pub outs: [u8; 4],
pub n_out: u8,
}Expand description
Where the host says the bound device is, from a host that says (wire::INFO_WHERE_AT): for a driver’s
report of its hardware, never to address it by - the host does that.
Fields§
§root: u8The root port it is on, from 1.
hub: u8The hub port it is behind, or 0 when it is on the root port itself.
slot: u8The host’s slot for it (xhci), or its USB address (ehci).
in_addr: u8Its bulk IN endpoint’s address, or 0 when it has none; and that endpoint’s packet size.
in_mps: u16§outs: [u8; 4]Its bulk OUT endpoints’ addresses, in the order bulk_out counts them: the first n_out.
n_out: u8Trait Implementations§
impl Copy for Place
impl Eq for Place
impl StructuralPartialEq for Place
Auto Trait Implementations§
impl Freeze for Place
impl RefUnwindSafe for Place
impl Send for Place
impl Sync for Place
impl Unpin for Place
impl UnsafeUnpin for Place
impl UnwindSafe for Place
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