pub trait Histogram: Sum + Count + Min + Max + Aggregation {
    // Required method
    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§

source

fn histogram(&self) -> Result<Buckets, MetricsError>

Buckets for this histogram.

Implementors§