Struct rustix::backend::c::rtnl_link_stats
source · #[repr(C)]pub(crate) struct rtnl_link_stats {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 rtnl_link_stats
impl Clone for rtnl_link_stats
source§fn clone(&self) -> rtnl_link_stats
fn clone(&self) -> rtnl_link_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 rtnl_link_stats
impl Debug for rtnl_link_stats
impl Copy for rtnl_link_stats
Auto Trait Implementations§
impl Freeze for rtnl_link_stats
impl RefUnwindSafe for rtnl_link_stats
impl Send for rtnl_link_stats
impl Sync for rtnl_link_stats
impl Unpin for rtnl_link_stats
impl UnwindSafe for rtnl_link_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)