#[repr(u8)]pub enum PhyTestMode {
DISABLE = 0,
TEST_J = 1,
TEST_K = 2,
TEST_SE0_NAK = 3,
TEST_PACKET = 4,
TEST_FORCE_ENABLE = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
DISABLE = 0
Test mode disabled.
TEST_J = 1
Test_J.
TEST_K = 2
Test_K.
TEST_SE0_NAK = 3
Test_SE0_NAK.
TEST_PACKET = 4
Test_Packet.
TEST_FORCE_ENABLE = 5
Test_Force_Enable.
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Source§impl PhyTestMode
impl PhyTestMode
Trait Implementations§
Source§impl Clone for PhyTestMode
impl Clone for PhyTestMode
Source§fn clone(&self) -> PhyTestMode
fn clone(&self) -> PhyTestMode
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 PhyTestMode
impl Debug for PhyTestMode
Source§impl From<PhyTestMode> for u8
impl From<PhyTestMode> for u8
Source§fn from(val: PhyTestMode) -> u8
fn from(val: PhyTestMode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PhyTestMode
impl From<u8> for PhyTestMode
Source§fn from(val: u8) -> PhyTestMode
fn from(val: u8) -> PhyTestMode
Converts to this type from the input type.
Source§impl Ord for PhyTestMode
impl Ord for PhyTestMode
Source§fn cmp(&self, other: &PhyTestMode) -> Ordering
fn cmp(&self, other: &PhyTestMode) -> 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 PhyTestMode
impl PartialEq for PhyTestMode
Source§impl PartialOrd for PhyTestMode
impl PartialOrd for PhyTestMode
impl Copy for PhyTestMode
impl Eq for PhyTestMode
impl StructuralPartialEq for PhyTestMode
Auto Trait Implementations§
impl Freeze for PhyTestMode
impl RefUnwindSafe for PhyTestMode
impl Send for PhyTestMode
impl Sync for PhyTestMode
impl Unpin for PhyTestMode
impl UnwindSafe for PhyTestMode
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