metrics

Trait HistogramFn

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

A histogram handler.

Required Methods§

Source

fn record(&self, value: f64)

Records a value into the histogram.

Implementations on Foreign Types§

Source§

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

Source§

fn record(&self, value: f64)

Implementors§