pub trait StoreMetric { // Required methods fn fetch(&self) -> usize; fn store(&self, value: usize); }
Used for defining new types of metrics that do not need a counter and act as a persistent indicator.
Returns current value of the counter.
Stores value to the current counter.
value