Struct metrics_util::registry::AtomicStorage
source · pub struct AtomicStorage;
Expand description
Atomic metric storage.
Utilizes atomics for storing the value(s) of a given metric. Shared access to the actual atomic
is handling via Arc
.
Trait Implementations§
source§impl<K> Storage<K> for AtomicStorage
impl<K> Storage<K> for AtomicStorage
§type Histogram = Arc<AtomicBucket<f64>>
type Histogram = Arc<AtomicBucket<f64>>
The type used for histograms.