foyer_common::metrics

Trait HistogramVecOps

Source
pub trait HistogramVecOps:
    Send
    + Sync
    + 'static
    + Debug {
    // Required method
    fn histogram(&self, labels: &[&'static str]) -> impl HistogramOps;
}
Expand description

A vector of histograms.

Required Methods§

Source

fn histogram(&self, labels: &[&'static str]) -> impl HistogramOps

Get a histogram within the vector of histograms.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§