#[repr(u8)]pub enum ModestatStat {
Show 16 variants
PORST = 0,
WAIT = 1,
LINK = 2,
LINKUP = 3,
WAITCM = 4,
LOW = 5,
WAI = 6,
TXC = 7,
TXCB = 8,
WAITS = 9,
WAITSI = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
PORST = 0
PORST
WAIT = 1
WAITINIT
LINK = 2
Linkdown
LINKUP = 3
Linkup
WAITCM = 4
WAITCMDLP
LOW = 5
Low-power
WAI = 6
WAITCMDCFG
TXC = 7
TXCCFG
TXCB = 8
TXCBIST
WAITS = 9
WAITSSILENTLP
WAITSI = 10
WAITSILENTCFG
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Source§impl ModestatStat
impl ModestatStat
Trait Implementations§
Source§impl Clone for ModestatStat
impl Clone for ModestatStat
Source§fn clone(&self) -> ModestatStat
fn clone(&self) -> ModestatStat
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 ModestatStat
impl Debug for ModestatStat
Source§impl From<ModestatStat> for u8
impl From<ModestatStat> for u8
Source§fn from(val: ModestatStat) -> u8
fn from(val: ModestatStat) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ModestatStat
impl From<u8> for ModestatStat
Source§fn from(val: u8) -> ModestatStat
fn from(val: u8) -> ModestatStat
Converts to this type from the input type.
Source§impl Ord for ModestatStat
impl Ord for ModestatStat
Source§fn cmp(&self, other: &ModestatStat) -> Ordering
fn cmp(&self, other: &ModestatStat) -> 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 ModestatStat
impl PartialEq for ModestatStat
Source§impl PartialOrd for ModestatStat
impl PartialOrd for ModestatStat
impl Copy for ModestatStat
impl Eq for ModestatStat
impl StructuralPartialEq for ModestatStat
Auto Trait Implementations§
impl Freeze for ModestatStat
impl RefUnwindSafe for ModestatStat
impl Send for ModestatStat
impl Sync for ModestatStat
impl Unpin for ModestatStat
impl UnwindSafe for ModestatStat
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