Struct systemstat::data::SocketStats
source · pub struct SocketStats {
pub tcp_sockets_in_use: usize,
pub tcp_sockets_orphaned: usize,
pub udp_sockets_in_use: usize,
pub tcp6_sockets_in_use: usize,
pub udp6_sockets_in_use: usize,
}
Fields§
§tcp_sockets_in_use: usize
§tcp_sockets_orphaned: usize
§udp_sockets_in_use: usize
§tcp6_sockets_in_use: usize
§udp6_sockets_in_use: usize
Trait Implementations§
source§impl Clone for SocketStats
impl Clone for SocketStats
source§fn clone(&self) -> SocketStats
fn clone(&self) -> SocketStats
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