pd::metrics

Trait HistogramFn

pub trait HistogramFn {
    // Required method
    fn record(&self, value: f64);
}
Expand description

A histogram handler.

Required Methods§

fn record(&self, value: f64)

Records a value into the histogram.

Implementations on Foreign Types§

§

impl HistogramFn for AtomicBucket<f64>

§

fn record(&self, value: f64)

§

impl<T> HistogramFn for Arc<T>
where T: HistogramFn,

§

fn record(&self, value: f64)

§

impl<T> HistogramFn for Generational<T>
where T: HistogramFn,

§

fn record(&self, value: f64)

Implementors§