Struct netstat::TcpSocketInfo
source · pub struct TcpSocketInfo {
pub local_addr: IpAddr,
pub local_port: u16,
pub remote_addr: IpAddr,
pub remote_port: u16,
pub state: TcpState,
}
Expand description
TCP-specific socket information.
Fields§
§local_addr: IpAddr
§local_port: u16
§remote_addr: IpAddr
§remote_port: u16
§state: TcpState
Trait Implementations§
source§impl Clone for TcpSocketInfo
impl Clone for TcpSocketInfo
source§fn clone(&self) -> TcpSocketInfo
fn clone(&self) -> TcpSocketInfo
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