Trait kumo_prometheus::labels::MetricLabel

source ·
pub trait MetricLabel {
    // Required methods
    fn label_names() -> &'static [&'static str];
    fn emit_text_value(&self, target: &mut String, value: &str);
    fn emit_json_value(&self, target: &mut String, value: &str);
}

Required Methods§

source

fn label_names() -> &'static [&'static str]

source

fn emit_text_value(&self, target: &mut String, value: &str)

source

fn emit_json_value(&self, target: &mut String, value: &str)

Object Safety§

This trait is not object safe.

Implementors§