#[repr(C)]pub struct RtnlLinkStats {Show 24 fields
pub rx_packets: u32,
pub tx_packets: u32,
pub rx_bytes: u32,
pub tx_bytes: u32,
pub rx_errors: u32,
pub tx_errors: u32,
pub rx_dropped: u32,
pub tx_dropped: u32,
pub multicast: u32,
pub collisions: u32,
pub rx_length_errors: u32,
pub rx_over_errors: u32,
pub rx_crc_errors: u32,
pub rx_frame_errors: u32,
pub rx_fifo_errors: u32,
pub rx_missed_errors: u32,
pub tx_aborted_errors: u32,
pub tx_carrier_errors: u32,
pub tx_fifo_errors: u32,
pub tx_heartbeat_errors: u32,
pub tx_window_errors: u32,
pub rx_compressed: u32,
pub tx_compressed: u32,
pub rx_nohandler: u32,
}
Fields§
§rx_packets: u32
§tx_packets: u32
§rx_bytes: u32
§tx_bytes: u32
§rx_errors: u32
§tx_errors: u32
§rx_dropped: u32
§tx_dropped: u32
§multicast: u32
§collisions: u32
§rx_length_errors: u32
§rx_over_errors: u32
§rx_crc_errors: u32
§rx_frame_errors: u32
§rx_fifo_errors: u32
§rx_missed_errors: u32
§tx_aborted_errors: u32
§tx_carrier_errors: u32
§tx_fifo_errors: u32
§tx_heartbeat_errors: u32
§tx_window_errors: u32
§rx_compressed: u32
§tx_compressed: u32
§rx_nohandler: u32
Trait Implementations§
Source§impl Clone for RtnlLinkStats
impl Clone for RtnlLinkStats
Source§fn clone(&self) -> RtnlLinkStats
fn clone(&self) -> RtnlLinkStats
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 RtnlLinkStats
impl Debug for RtnlLinkStats
impl Copy for RtnlLinkStats
Auto Trait Implementations§
impl Freeze for RtnlLinkStats
impl RefUnwindSafe for RtnlLinkStats
impl Send for RtnlLinkStats
impl Sync for RtnlLinkStats
impl Unpin for RtnlLinkStats
impl UnwindSafe for RtnlLinkStats
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