Struct procfs::net::TcpNetEntry
source · pub struct TcpNetEntry {
pub local_address: SocketAddr,
pub remote_address: SocketAddr,
pub state: TcpState,
pub rx_queue: u32,
pub tx_queue: u32,
pub inode: u64,
}
Expand description
An entry in the TCP socket table
Fields§
§local_address: SocketAddr
§remote_address: SocketAddr
§state: TcpState
§rx_queue: u32
§tx_queue: u32
§inode: u64
Trait Implementations§
source§impl Clone for TcpNetEntry
impl Clone for TcpNetEntry
source§fn clone(&self) -> TcpNetEntry
fn clone(&self) -> TcpNetEntry
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