penumbra_stake::component::metrics

Trait HistogramFn

pub trait HistogramFn {
    // Required method
    fn record(&self, value: f64);
}
Available on crate feature component only.
Expand description

A histogram handler.

Required Methods§

fn record(&self, value: f64)

Records a value into the histogram.

Implementations on Foreign Types§

§

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

§

fn record(&self, value: f64)

Implementors§