Struct rustix::backend::c::rtnl_hw_stats64
source · #[repr(C)]pub(crate) struct rtnl_hw_stats64 {
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,
}
Fields§
§rx_packets: u64
§tx_packets: u64
§rx_bytes: u64
§tx_bytes: u64
§rx_errors: u64
§tx_errors: u64
§rx_dropped: u64
§tx_dropped: u64
§multicast: u64
Trait Implementations§
source§impl Clone for rtnl_hw_stats64
impl Clone for rtnl_hw_stats64
source§fn clone(&self) -> rtnl_hw_stats64
fn clone(&self) -> rtnl_hw_stats64
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_hw_stats64
impl Debug for rtnl_hw_stats64
impl Copy for rtnl_hw_stats64
Auto Trait Implementations§
impl Freeze for rtnl_hw_stats64
impl RefUnwindSafe for rtnl_hw_stats64
impl Send for rtnl_hw_stats64
impl Sync for rtnl_hw_stats64
impl Unpin for rtnl_hw_stats64
impl UnwindSafe for rtnl_hw_stats64
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
)