pub struct StatsConfig {
pub median: MedianMode,
pub rolling_count: Option<usize>,
pub rolling_time: Option<Duration>,
}Fields§
§median: MedianMode§rolling_count: Option<usize>§rolling_time: Option<Duration>Implementations§
Source§impl StatsConfig
impl StatsConfig
pub fn finite() -> Self
Sourcepub fn continuous() -> Self
pub fn continuous() -> Self
Configuration for long-running use.
This disables finite median retention and bounds sequence-adjacent IPDV tracking. Exact arbitrary-late IPDV completion is finite-mode behavior.
Trait Implementations§
Source§impl Clone for StatsConfig
impl Clone for StatsConfig
Source§fn clone(&self) -> StatsConfig
fn clone(&self) -> StatsConfig
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 StatsConfig
impl Debug for StatsConfig
Source§impl Default for StatsConfig
impl Default for StatsConfig
Source§impl PartialEq for StatsConfig
impl PartialEq for StatsConfig
Source§fn eq(&self, other: &StatsConfig) -> bool
fn eq(&self, other: &StatsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StatsConfig
impl Eq for StatsConfig
impl StructuralPartialEq for StatsConfig
Auto Trait Implementations§
impl Freeze for StatsConfig
impl RefUnwindSafe for StatsConfig
impl Send for StatsConfig
impl Sync for StatsConfig
impl Unpin for StatsConfig
impl UnsafeUnpin for StatsConfig
impl UnwindSafe for StatsConfig
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