Struct glean_core::metrics::CounterMetric [−][src]
pub struct CounterMetric { /* fields omitted */ }
Expand description
A counter metric.
Used to count things. The value can only be incremented, not decremented.
Implementations
Creates a new counter metric.
Trait Implementations
Access the stored metadata
Access the stored metadata mutable
Whether this metric should currently be recorded Read more
Auto Trait Implementations
impl RefUnwindSafe for CounterMetric
impl Send for CounterMetric
impl Sync for CounterMetric
impl Unpin for CounterMetric
impl UnwindSafe for CounterMetric
Blanket Implementations
Mutably borrows from an owned value. Read more