[][src]Struct rsys::linux::IfaceDev

pub struct IfaceDev {
    pub iface: String,
    pub rx_bytes: u64,
    pub rx_packets: u64,
    pub rx_errs: u64,
    pub rx_drop: u64,
    pub rx_fifo: u64,
    pub rx_frame: u64,
    pub rx_compressed: u64,
    pub rx_multicast: u64,
    pub tx_bytes: u64,
    pub tx_packets: u64,
    pub tx_errs: u64,
    pub tx_drop: u64,
    pub tx_fifo: u64,
    pub tx_frame: u64,
    pub tx_compressed: u64,
    pub tx_multicast: u64,
}

Represents a data line of /proc/net/dev

Fields

iface: Stringrx_bytes: u64rx_packets: u64rx_errs: u64rx_drop: u64rx_fifo: u64rx_frame: u64rx_compressed: u64rx_multicast: u64tx_bytes: u64tx_packets: u64tx_errs: u64tx_drop: u64tx_fifo: u64tx_frame: u64tx_compressed: u64tx_multicast: u64

Trait Implementations

impl Debug for IfaceDev[src]

impl Default for IfaceDev[src]

impl Eq for IfaceDev[src]

impl PartialEq<IfaceDev> for IfaceDev[src]

impl StructuralEq for IfaceDev[src]

impl StructuralPartialEq for IfaceDev[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, 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.