Trait prometheus::local::CounterDelegator  [−][src]
pub trait CounterDelegator<T: 'static + MayFlush, V: CounterWithValueType> { fn get_root_metric(&self) -> &'static LocalKey<T>; fn get_local<'a>(
&self,
root_metric: &'a T
) -> &'a GenericLocalCounter<V::ValueType>; }
Delegator for auto flush-able local counter
Required methods
fn get_root_metric(&self) -> &'static LocalKey<T>[src]
Get the root local metric for delegate
fn get_local<'a>(
    &self, 
    root_metric: &'a T
) -> &'a GenericLocalCounter<V::ValueType>[src]
&self,
root_metric: &'a T
) -> &'a GenericLocalCounter<V::ValueType>
Get the final counter for delegate