#[non_exhaustive]pub enum UsbControllerType {
XHCI,
EHCI,
OHCI,
UHCI,
VHCI,
}Expand description
USB host controller type
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
XHCI
xHCI controller (USB 3.0+)
EHCI
EHCI controller (USB 2.0)
OHCI
OHCI controller (USB 1.1)
UHCI
UHCI controller (USB 1.x) (proprietary interface created by Intel)
VHCI
VHCI controller (virtual internal USB)
Trait Implementations§
Source§impl Clone for UsbControllerType
impl Clone for UsbControllerType
Source§fn clone(&self) -> UsbControllerType
fn clone(&self) -> UsbControllerType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UsbControllerType
impl Debug for UsbControllerType
Source§impl Hash for UsbControllerType
impl Hash for UsbControllerType
Source§impl Ord for UsbControllerType
impl Ord for UsbControllerType
Source§fn cmp(&self, other: &UsbControllerType) -> Ordering
fn cmp(&self, other: &UsbControllerType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UsbControllerType
impl PartialEq for UsbControllerType
Source§impl PartialOrd for UsbControllerType
impl PartialOrd for UsbControllerType
impl Copy for UsbControllerType
impl Eq for UsbControllerType
impl StructuralPartialEq for UsbControllerType
Auto Trait Implementations§
impl Freeze for UsbControllerType
impl RefUnwindSafe for UsbControllerType
impl Send for UsbControllerType
impl Sync for UsbControllerType
impl Unpin for UsbControllerType
impl UnsafeUnpin for UsbControllerType
impl UnwindSafe for UsbControllerType
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