pub trait Count: Aggregation {
    // Required method
    fn count(&self) -> Result<u64, MetricsError>;
}
Available on crate feature metrics only.
Expand description

Count returns the number of values that were aggregated.

Required Methods§

source

fn count(&self) -> Result<u64, MetricsError>

The count of the currently aggregated metrics

Implementors§