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]
impl<M> AppCounter<M>
pub fn count<V>(&self, count: V) where
V: ToPrimitive,
[src]
pub fn count<V>(&self, count: V) where
V: ToPrimitive,
Record a value count.
Trait Implementations
impl<M> Debug for AppCounter<M> where
M: Debug,
[src]
impl<M> Debug for AppCounter<M> where
M: Debug,
Auto Trait Implementations
impl<M> Send for AppCounter<M> where
M: Send,
impl<M> Send for AppCounter<M> where
M: Send,
impl<M> Sync for AppCounter<M> where
M: Sync,
impl<M> Sync for AppCounter<M> where
M: Sync,