Trait prometheus_client::metrics::counter::Atomic
source · pub trait Atomic<N> {
// Required methods
fn inc(&self) -> N;
fn inc_by(&self, v: N) -> N;
fn get(&self) -> N;
}
Expand description
Atomic operations for a Counter
value store.