pub enum UsbState {
Disabled,
Started,
Initialized,
PoweredOn,
Attached,
Configured,
}
Variants§
Trait Implementations§
impl Copy for UsbState
impl StructuralPartialEq for UsbState
Auto Trait Implementations§
impl Freeze for UsbState
impl RefUnwindSafe for UsbState
impl Send for UsbState
impl Sync for UsbState
impl Unpin for UsbState
impl UnwindSafe for UsbState
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