pub enum HubEvent {
DeviceDetected {
port: u8,
speed: Speed,
},
DeviceRemoved {
address: Option<NonZeroU8>,
port: u8,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HubEvent
impl RefUnwindSafe for HubEvent
impl Send for HubEvent
impl Sync for HubEvent
impl Unpin for HubEvent
impl UnwindSafe for HubEvent
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