Struct dipstick::core::ScopeCounter
[−]
[src]
pub struct ScopeCounter<M> { /* fields omitted */ }
A counter that sends values to the metrics backend
Methods
impl<M> ScopeCounter<M>
[src]
pub 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,
Auto Trait Implementations
impl<M> Send for ScopeCounter<M> where
M: Send,
M: Send,
impl<M> Sync for ScopeCounter<M> where
M: Sync,
M: Sync,