Struct samotop_core::io::ConnectionInfo
source · [−]pub struct ConnectionInfo {
pub id: String,
pub local_addr: String,
pub peer_addr: String,
pub established: SystemTime,
}
Expand description
Carries connection infromation (TCP, unix socket, …) so that remaining code can abstract away from it as Io
Fields
id: String
local_addr: String
peer_addr: String
established: SystemTime
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ConnectionInfo
impl Send for ConnectionInfo
impl Sync for ConnectionInfo
impl Unpin for ConnectionInfo
impl UnwindSafe for ConnectionInfo
Blanket Implementations
Mutably borrows from an owned value. Read more