[][src]Trait stats::prelude::Counter

pub trait Counter {
    pub fn increment_value(&self, value: i64);
}

Counter is the simplest type of aggregated stat, it behaves as a single number that can be incremented.

Required methods

pub fn increment_value(&self, value: i64)[src]

Increments the counter by the given amount.

Loading content...

Implementations on Foreign Types

impl<T> Counter for Box<T, Global> where
    T: Counter + ?Sized
[src]

Loading content...

Implementors

Loading content...