pub struct ProcessActivity {Show 19 fields
pub identity: ProcessIdentity,
pub current_tx_bps: f64,
pub current_rx_bps: f64,
pub window_tx_bytes: u64,
pub window_rx_bytes: u64,
pub peak_tx_bps: f64,
pub peak_rx_bps: f64,
pub retained_tx_bytes: u64,
pub retained_rx_bytes: u64,
pub active_connections: usize,
pub total_connections: u64,
pub unique_destinations: usize,
pub destinations_truncated: bool,
pub top_tx_destination: Option<DestinationActivity>,
pub top_rx_destination: Option<DestinationActivity>,
pub window_tx_share: f64,
pub window_rx_share: f64,
pub retained_tx_share: f64,
pub retained_rx_share: f64,
}Expand description
Aggregated retained and rolling metrics for one process identity.
Fields§
§identity: ProcessIdentity§current_tx_bps: f64§current_rx_bps: f64§window_tx_bytes: u64§window_rx_bytes: u64§peak_tx_bps: f64§peak_rx_bps: f64§retained_tx_bytes: u64§retained_rx_bytes: u64§active_connections: usize§total_connections: u64§unique_destinations: usize§destinations_truncated: bool§top_tx_destination: Option<DestinationActivity>§top_rx_destination: Option<DestinationActivity>Trait Implementations§
Source§impl Clone for ProcessActivity
impl Clone for ProcessActivity
Source§fn clone(&self) -> ProcessActivity
fn clone(&self) -> ProcessActivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcessActivity
impl RefUnwindSafe for ProcessActivity
impl Send for ProcessActivity
impl Sync for ProcessActivity
impl Unpin for ProcessActivity
impl UnsafeUnpin for ProcessActivity
impl UnwindSafe for ProcessActivity
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