pub struct DestinationActivity {
pub remote_addr: SocketAddr,
pub label: Option<String>,
pub tx_bytes: u64,
pub rx_bytes: u64,
pub connections: u64,
}Expand description
Traffic attributed to one remote socket for a process.
Fields§
§remote_addr: SocketAddr§label: Option<String>§tx_bytes: u64§rx_bytes: u64§connections: u64Implementations§
Source§impl DestinationActivity
impl DestinationActivity
pub fn display_name(&self) -> String
Trait Implementations§
Source§impl Clone for DestinationActivity
impl Clone for DestinationActivity
Auto Trait Implementations§
impl Freeze for DestinationActivity
impl RefUnwindSafe for DestinationActivity
impl Send for DestinationActivity
impl Sync for DestinationActivity
impl Unpin for DestinationActivity
impl UnsafeUnpin for DestinationActivity
impl UnwindSafe for DestinationActivity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more