pub struct EnableTimestamps {
pub rx_software: bool,
pub tx_software: bool,
pub rx_hardware: bool,
pub tx_hardware: bool,
}
Expand description
Enable the given timestamps. This is a hint!
Your OS or hardware might not actually support some timestamping modes. Unsupported timestamping modes are ignored.
Fields§
§rx_software: bool
§tx_software: bool
§rx_hardware: bool
§tx_hardware: bool
Trait Implementations§
Source§impl Clone for EnableTimestamps
impl Clone for EnableTimestamps
Source§fn clone(&self) -> EnableTimestamps
fn clone(&self) -> EnableTimestamps
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 EnableTimestamps
impl Debug for EnableTimestamps
Source§impl Default for EnableTimestamps
impl Default for EnableTimestamps
Source§impl<'de> Deserialize<'de> for EnableTimestamps
impl<'de> Deserialize<'de> for EnableTimestamps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for EnableTimestamps
Auto Trait Implementations§
impl Freeze for EnableTimestamps
impl RefUnwindSafe for EnableTimestamps
impl Send for EnableTimestamps
impl Sync for EnableTimestamps
impl Unpin for EnableTimestamps
impl UnwindSafe for EnableTimestamps
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