pub enum Speed {
LowFull,
High,
}
Expand description
USB low / full / high speed setting.
Variants§
LowFull
Throttle to low / full speeds.
If a host is capable of high-speed, this will prevent the device from enumerating as a high-speed device.
High
High speed.
A high-speed device can still interface a low / full speed host, so use this setting for the most flexibility.
Trait Implementations§
source§impl PartialEq for Speed
impl PartialEq for Speed
impl Copy for Speed
impl Eq for Speed
impl StructuralEq for Speed
impl StructuralPartialEq for Speed
Auto Trait Implementations§
impl RefUnwindSafe for Speed
impl Send for Speed
impl Sync for Speed
impl Unpin for Speed
impl UnwindSafe for Speed
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