pub trait StoreMetric { // Required methods fn fetch(&self) -> u64; fn store(&self, value: u64); }
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