Struct libstatgrab_sys::sg_network_io_stats
source · #[repr(C)]pub struct sg_network_io_stats {
pub interface_name: *mut c_char,
pub tx: c_ulonglong,
pub rx: c_ulonglong,
pub ipackets: c_ulonglong,
pub opackets: c_ulonglong,
pub ierrors: c_ulonglong,
pub oerrors: c_ulonglong,
pub collisions: c_ulonglong,
pub systime: time_t,
}
Fields§
§interface_name: *mut c_char
§tx: c_ulonglong
§rx: c_ulonglong
§ipackets: c_ulonglong
§opackets: c_ulonglong
§ierrors: c_ulonglong
§oerrors: c_ulonglong
§collisions: c_ulonglong
§systime: time_t
Trait Implementations§
source§impl Clone for sg_network_io_stats
impl Clone for sg_network_io_stats
source§fn clone(&self) -> sg_network_io_stats
fn clone(&self) -> sg_network_io_stats
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 more