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