Struct sigar_sys::sigar_net_connection_t
source · #[repr(C)]pub struct sigar_net_connection_t {
pub local_port: c_ulong,
pub local_address: sigar_net_address_t,
pub remote_port: c_ulong,
pub remote_address: sigar_net_address_t,
pub uid: sigar_uid_t,
pub inode: c_ulong,
pub type_: c_int,
pub state: c_int,
pub send_queue: c_ulong,
pub receive_queue: c_ulong,
}
Fields§
§local_port: c_ulong
§local_address: sigar_net_address_t
§remote_port: c_ulong
§remote_address: sigar_net_address_t
§uid: sigar_uid_t
§inode: c_ulong
§type_: c_int
§state: c_int
§send_queue: c_ulong
§receive_queue: c_ulong
Trait Implementations§
source§impl Clone for sigar_net_connection_t
impl Clone for sigar_net_connection_t
source§fn clone(&self) -> sigar_net_connection_t
fn clone(&self) -> sigar_net_connection_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 more