Struct dipstick::ScopeCounter
[−]
[src]
pub struct ScopeCounter<M> { /* fields omitted */ }
A counter that sends values to the metrics backend
Methods
impl<M> ScopeCounter<M>
[src]
fn count<V>(&self, scope: &mut ControlScopeFn<M>, count: V) where
V: ToPrimitive,
[src]
V: ToPrimitive,
Record a value count.
Trait Implementations
impl<M> Debug for ScopeCounter<M> where
M: Debug,
[src]
M: Debug,