foyer_common::metrics

Trait GaugeVecOps

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

A vector of gauges.

Required Methods§

Source

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

Get a gauge within the vector of gauges.

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§