[][src]Trait stats_traits::dynamic_stat_types::DynamicCounter

pub trait DynamicCounter<'a, T> {
    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

fn increment_value(&'a self, value: i64, args: T)

Dynamic version of Counter::increment_value

Loading content...

Implementations on Foreign Types

impl<T> DynamicCounter<'static, T> for LocalKey<DynamicStat<T, BoxCounter>>[src]

Loading content...

Implementors

impl<'a, T> DynamicCounter<'a, T> for DynamicStat<T, BoxCounter>[src]

Loading content...