Struct linux_raw_sys::netlink::rtnl_hw_stats64
source · #[repr(C)]pub 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
)