#[repr(C)]pub struct ethtool_ts_info {
pub cmd: u32,
pub so_timestamping: u32,
pub phc_index: i32,
pub tx_types: u32,
pub tx_reserved: [u32; 3],
pub rx_filters: u32,
pub rx_reserved: [u32; 3],
}
Fields§
§cmd: u32
§so_timestamping: u32
§phc_index: i32
§tx_types: u32
§tx_reserved: [u32; 3]
§rx_filters: u32
§rx_reserved: [u32; 3]
Trait Implementations§
Source§impl Clone for ethtool_ts_info
impl Clone for ethtool_ts_info
Source§fn clone(&self) -> ethtool_ts_info
fn clone(&self) -> ethtool_ts_info
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 ethtool_ts_info
impl Debug for ethtool_ts_info
Source§impl Default for ethtool_ts_info
impl Default for ethtool_ts_info
Source§impl Hash for ethtool_ts_info
impl Hash for ethtool_ts_info
Source§impl Ord for ethtool_ts_info
impl Ord for ethtool_ts_info
Source§fn cmp(&self, other: ðtool_ts_info) -> Ordering
fn cmp(&self, other: ðtool_ts_info) -> 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 ethtool_ts_info
impl PartialEq for ethtool_ts_info
Source§impl PartialOrd for ethtool_ts_info
impl PartialOrd for ethtool_ts_info
impl Copy for ethtool_ts_info
impl Eq for ethtool_ts_info
impl StructuralPartialEq for ethtool_ts_info
Auto Trait Implementations§
impl Freeze for ethtool_ts_info
impl RefUnwindSafe for ethtool_ts_info
impl Send for ethtool_ts_info
impl Sync for ethtool_ts_info
impl Unpin for ethtool_ts_info
impl UnwindSafe for ethtool_ts_info
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