pub trait Counter {
// Required method
fn increment_value(&self, value: i64);
}
Expand description
Counter is the simplest type of aggregated stat, it behaves as a single number that can be incremented.
Required Methods§
sourcefn increment_value(&self, value: i64)
fn increment_value(&self, value: i64)
Increments the counter by the given amount.