[][src]Trait stats::prelude::DynamicCounter

pub trait DynamicCounter<'a, T> {
    pub fn increment_value(&'a self, value: i64, args: T);
}

Similar to the Counter trait, but accepts the args parameter for accessing dynamic counters created at runtime.

Required methods

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

Dynamic version of Counter::increment_value

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...