Skip to main content

ExportedMetricLabelPair

Trait ExportedMetricLabelPair 

Source
pub(super) trait ExportedMetricLabelPair: MetricLabel {
    // Required method
    fn label_pair(self) -> [(&'static str, &'static str); 2];
}

Required Methods§

Source

fn label_pair(self) -> [(&'static str, &'static str); 2]

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§