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 CounterMetricimpl Send for CounterMetricimpl Sync for CounterMetricimpl Unpin for CounterMetricimpl UnwindSafe for CounterMetricBlanket Implementations
Mutably borrows from an owned value. Read more