[][src]Trait stats::prelude::DynamicTimeseries

pub trait DynamicTimeseries<'a, T> {
    pub fn add_value(&'a self, value: i64, args: T);
pub fn add_value_aggregated(&'a self, value: i64, nsamples: u32, args: T); }

Similar to Timeseries trait, but accepts the args parameter for accessing dynamic timeseries created in runtime.

Required methods

pub fn add_value(&'a self, value: i64, args: T)[src]

Dynamic version of Timeseries::add_value

pub fn add_value_aggregated(&'a self, value: i64, nsamples: u32, args: T)[src]

Dynamic version of Timeseries::add_value_aggregated

Loading content...

Implementations on Foreign Types

impl<'a, T> DynamicTimeseries<'a, T> for DynamicStat<T, Box<dyn Timeseries + 'static + Send + Sync, Global>>[src]

impl<T> DynamicTimeseries<'static, T> for LocalKey<DynamicStat<T, Box<dyn Timeseries + 'static + Send + Sync, Global>>>[src]

Loading content...

Implementors

Loading content...