#[non_exhaustive]#[repr(u32)]pub enum hwtstamp_tx_types {
HWTSTAMP_TX_OFF = 0,
HWTSTAMP_TX_ON = 1,
HWTSTAMP_TX_ONESTEP_SYNC = 2,
HWTSTAMP_TX_ONESTEP_P2P = 3,
__HWTSTAMP_TX_CNT = 4,
}
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.
HWTSTAMP_TX_OFF = 0
HWTSTAMP_TX_ON = 1
HWTSTAMP_TX_ONESTEP_SYNC = 2
HWTSTAMP_TX_ONESTEP_P2P = 3
__HWTSTAMP_TX_CNT = 4
Trait Implementations§
Source§impl Clone for hwtstamp_tx_types
impl Clone for hwtstamp_tx_types
Source§fn clone(&self) -> hwtstamp_tx_types
fn clone(&self) -> hwtstamp_tx_types
Returns a copy 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 hwtstamp_tx_types
impl Debug for hwtstamp_tx_types
Source§impl Hash for hwtstamp_tx_types
impl Hash for hwtstamp_tx_types
Source§impl PartialEq for hwtstamp_tx_types
impl PartialEq for hwtstamp_tx_types
impl Copy for hwtstamp_tx_types
impl Eq for hwtstamp_tx_types
impl StructuralPartialEq for hwtstamp_tx_types
Auto Trait Implementations§
impl Freeze for hwtstamp_tx_types
impl RefUnwindSafe for hwtstamp_tx_types
impl Send for hwtstamp_tx_types
impl Sync for hwtstamp_tx_types
impl Unpin for hwtstamp_tx_types
impl UnwindSafe for hwtstamp_tx_types
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