logo
pub trait Histogram: Sum + Count + Aggregation {
    fn histogram(&self) -> Result<Buckets, MetricsError>;
}
Available on crate feature metrics only.
Expand description

Histogram returns the count of events in pre-determined buckets.

Required Methods

Buckets for this histogram.

Implementors