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

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

Required Methods§

source

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

Dynamic version of Counter::increment_value

Implementations on Foreign Types§

source§

impl<T> DynamicCounter<'static, T> for LocalKey<DynamicStat<T, Box<dyn Counter>>>

source§

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

Implementors§

source§

impl<'a, T> DynamicCounter<'a, T> for DynamicStat<T, Box<dyn Counter>>