Struct prometheus_utils::GenericGaugeGuard [−][src]
pub struct GenericGaugeGuard<P: Atomic + 'static> { /* fields omitted */ }
Expand description
An RAII-style guard for situations where we want to increment a gauge and then ensure that there is always a corresponding decrement.
Created by the methods on the GuardedGauge
extension trait.