#[repr(u8)]pub enum DevpluginStatus {
VALUE0 = 0,
VALUE1 = 1,
}Variants§
VALUE0 = 0
No attachment to a USB host is detected
VALUE1 = 1
Cable attachment to a USB host is detected
Implementations§
Trait Implementations§
Source§impl Clone for DevpluginStatus
impl Clone for DevpluginStatus
Source§fn clone(&self) -> DevpluginStatus
fn clone(&self) -> DevpluginStatus
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 DevpluginStatus
impl Debug for DevpluginStatus
Source§impl From<DevpluginStatus> for u8
impl From<DevpluginStatus> for u8
Source§fn from(val: DevpluginStatus) -> u8
fn from(val: DevpluginStatus) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DevpluginStatus
impl From<u8> for DevpluginStatus
Source§fn from(val: u8) -> DevpluginStatus
fn from(val: u8) -> DevpluginStatus
Converts to this type from the input type.
Source§impl Ord for DevpluginStatus
impl Ord for DevpluginStatus
Source§fn cmp(&self, other: &DevpluginStatus) -> Ordering
fn cmp(&self, other: &DevpluginStatus) -> 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 DevpluginStatus
impl PartialEq for DevpluginStatus
Source§impl PartialOrd for DevpluginStatus
impl PartialOrd for DevpluginStatus
impl Copy for DevpluginStatus
impl Eq for DevpluginStatus
impl StructuralPartialEq for DevpluginStatus
Auto Trait Implementations§
impl Freeze for DevpluginStatus
impl RefUnwindSafe for DevpluginStatus
impl Send for DevpluginStatus
impl Sync for DevpluginStatus
impl Unpin for DevpluginStatus
impl UnwindSafe for DevpluginStatus
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