Struct sigar_sys::sigar_net_stat_t
source · #[repr(C)]pub struct sigar_net_stat_t {
pub tcp_states: [c_int; 14],
pub tcp_inbound_total: sigar_uint32_t,
pub tcp_outbound_total: sigar_uint32_t,
pub all_inbound_total: sigar_uint32_t,
pub all_outbound_total: sigar_uint32_t,
}
Fields§
§tcp_states: [c_int; 14]
§tcp_inbound_total: sigar_uint32_t
§tcp_outbound_total: sigar_uint32_t
§all_inbound_total: sigar_uint32_t
§all_outbound_total: sigar_uint32_t
Trait Implementations§
source§impl Clone for sigar_net_stat_t
impl Clone for sigar_net_stat_t
source§fn clone(&self) -> sigar_net_stat_t
fn clone(&self) -> sigar_net_stat_t
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 sigar_net_stat_t
impl Debug for sigar_net_stat_t
source§impl Default for sigar_net_stat_t
impl Default for sigar_net_stat_t
source§fn default() -> sigar_net_stat_t
fn default() -> sigar_net_stat_t
Returns the “default value” for a type. Read more