Trait stats::prelude::DynamicCounter
source · 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§
sourcefn increment_value(&'a self, value: i64, args: T)
fn increment_value(&'a self, value: i64, args: T)
Dynamic version of Counter::increment_value