pub struct ProcessActivityConfig {
pub max_completed_processes: usize,
pub max_destinations_per_process: usize,
pub window: Duration,
}Expand description
Bounds for retained process accounting.
Fields§
§max_completed_processes: usizeMaximum number of historic process buckets represented in one sample.
Additional identities are folded into attributed/unattributed Other
buckets. Active identities are always represented individually.
max_destinations_per_process: usizeMaximum number of unique destinations reported per process. When this
is exceeded, the visible count is rendered with a + suffix. Top peers
are still selected from every destination in the transient sample.
window: DurationRolling traffic window used by the activity UI.
Trait Implementations§
Source§impl Clone for ProcessActivityConfig
impl Clone for ProcessActivityConfig
Source§fn clone(&self) -> ProcessActivityConfig
fn clone(&self) -> ProcessActivityConfig
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 moreSource§impl Debug for ProcessActivityConfig
impl Debug for ProcessActivityConfig
Auto Trait Implementations§
impl Freeze for ProcessActivityConfig
impl RefUnwindSafe for ProcessActivityConfig
impl Send for ProcessActivityConfig
impl Sync for ProcessActivityConfig
impl Unpin for ProcessActivityConfig
impl UnsafeUnpin for ProcessActivityConfig
impl UnwindSafe for ProcessActivityConfig
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