Type Alias metrics::Histogram

source ·
pub type Histogram<T> = DetailedHistogram<T, T>;
Expand description

A helper type alias for Histogram that doesn’t store details. The structure can be used in production without much memory penalty.

Aliased Type§

struct Histogram<T> {
    buckets: Vec<Bucket<T>>,
    values: Option<Vec<T>>,
}

Fields§

§buckets: Vec<Bucket<T>>§values: Option<Vec<T>>