Struct linux_raw_sys::netlink::rtnl_link_stats64
source · [−]#[repr(C)]pub struct rtnl_link_stats64 {Show 24 fields
pub rx_packets: __u64,
pub tx_packets: __u64,
pub rx_bytes: __u64,
pub tx_bytes: __u64,
pub rx_errors: __u64,
pub tx_errors: __u64,
pub rx_dropped: __u64,
pub tx_dropped: __u64,
pub multicast: __u64,
pub collisions: __u64,
pub rx_length_errors: __u64,
pub rx_over_errors: __u64,
pub rx_crc_errors: __u64,
pub rx_frame_errors: __u64,
pub rx_fifo_errors: __u64,
pub rx_missed_errors: __u64,
pub tx_aborted_errors: __u64,
pub tx_carrier_errors: __u64,
pub tx_fifo_errors: __u64,
pub tx_heartbeat_errors: __u64,
pub tx_window_errors: __u64,
pub rx_compressed: __u64,
pub tx_compressed: __u64,
pub rx_nohandler: __u64,
}Fields
rx_packets: __u64tx_packets: __u64rx_bytes: __u64tx_bytes: __u64rx_errors: __u64tx_errors: __u64rx_dropped: __u64tx_dropped: __u64multicast: __u64collisions: __u64rx_length_errors: __u64rx_over_errors: __u64rx_crc_errors: __u64rx_frame_errors: __u64rx_fifo_errors: __u64rx_missed_errors: __u64tx_aborted_errors: __u64tx_carrier_errors: __u64tx_fifo_errors: __u64tx_heartbeat_errors: __u64tx_window_errors: __u64rx_compressed: __u64tx_compressed: __u64rx_nohandler: __u64Trait Implementations
sourceimpl Clone for rtnl_link_stats64
impl Clone for rtnl_link_stats64
sourcefn clone(&self) -> rtnl_link_stats64
fn clone(&self) -> rtnl_link_stats64
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for rtnl_link_stats64
impl Debug for rtnl_link_stats64
impl Copy for rtnl_link_stats64
Auto Trait Implementations
impl RefUnwindSafe for rtnl_link_stats64
impl Send for rtnl_link_stats64
impl Sync for rtnl_link_stats64
impl Unpin for rtnl_link_stats64
impl UnwindSafe for rtnl_link_stats64
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more