Skip to main content

MetricLabels

Trait MetricLabels 

Source
pub trait MetricLabels {
    // Required method
    fn labels(&self) -> LabelSet;
}
Expand description

Trait for types that can provide metric labels

Required Methods§

Source

fn labels(&self) -> LabelSet

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§