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