pub struct BusState { /* private fields */ }Expand description
Shared bus-wide state used by a BusHandle.
Holds the in-use USB device addresses (1–127) and an async mutex used to serialise enumerations on a single bus.
Addresses greater than 127 are not issued because their behavior is not specified (USB 2.0 §9.4.6).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BusState
impl !RefUnwindSafe for BusState
impl Send for BusState
impl Sync for BusState
impl Unpin for BusState
impl UnwindSafe for BusState
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