[][src]Struct bpf_sys::rtnl_link_stats

#[repr(C)]
pub struct rtnl_link_stats {
    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: __u32tx_packets: __u32rx_bytes: __u32tx_bytes: __u32rx_errors: __u32tx_errors: __u32rx_dropped: __u32tx_dropped: __u32multicast: __u32collisions: __u32rx_length_errors: __u32rx_over_errors: __u32rx_crc_errors: __u32rx_frame_errors: __u32rx_fifo_errors: __u32rx_missed_errors: __u32tx_aborted_errors: __u32tx_carrier_errors: __u32tx_fifo_errors: __u32tx_heartbeat_errors: __u32tx_window_errors: __u32rx_compressed: __u32tx_compressed: __u32rx_nohandler: __u32

Trait Implementations

impl Clone for rtnl_link_stats[src]

impl Copy for rtnl_link_stats[src]

impl Debug for rtnl_link_stats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.