#[repr(C)]pub struct ethtool_stats {
pub cmd: u32,
pub n_stats: u32,
pub data: [u64; 0],
}
Fields§
§cmd: u32
§n_stats: u32
§data: [u64; 0]
Trait Implementations§
Source§impl Clone for ethtool_stats
impl Clone for ethtool_stats
Source§fn clone(&self) -> ethtool_stats
fn clone(&self) -> ethtool_stats
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_stats
impl Debug for ethtool_stats
Source§impl Default for ethtool_stats
impl Default for ethtool_stats
Source§impl Hash for ethtool_stats
impl Hash for ethtool_stats
Source§impl Ord for ethtool_stats
impl Ord for ethtool_stats
Source§fn cmp(&self, other: ðtool_stats) -> Ordering
fn cmp(&self, other: ðtool_stats) -> 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_stats
impl PartialEq for ethtool_stats
Source§impl PartialOrd for ethtool_stats
impl PartialOrd for ethtool_stats
impl Copy for ethtool_stats
impl Eq for ethtool_stats
impl StructuralPartialEq for ethtool_stats
Auto Trait Implementations§
impl Freeze for ethtool_stats
impl RefUnwindSafe for ethtool_stats
impl Send for ethtool_stats
impl Sync for ethtool_stats
impl Unpin for ethtool_stats
impl UnwindSafe for ethtool_stats
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