Struct sys_metrics::network::IoNet [−][src]
pub struct IoNet { pub interface: String, pub rx_bytes: u64, pub rx_packets: u64, pub rx_errs: u64, pub rx_drop: u64, pub tx_bytes: u64, pub tx_packets: u64, pub tx_errs: u64, pub tx_drop: u64, }
Expand description
Struct containing the IO counters for the network interfaces.
Fields
interface: String
rx_bytes: u64
rx_packets: u64
rx_errs: u64
rx_drop: u64
tx_bytes: u64
tx_packets: u64
tx_errs: u64
tx_drop: u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IoNet
impl UnwindSafe for IoNet
Blanket Implementations
Mutably borrows from an owned value. Read more