Trait Histogram

Source
pub trait Histogram: Sum + Count {
    // Required method
    fn histogram(&self) -> Result<Buckets>;
}
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>

Buckets for this histogram.

Implementors§