Trait MetricVecRelabelExt

Source
pub trait MetricVecRelabelExt
where Self: Sized,
{ // Required methods fn relabel(self, _: MetricLevel, _: MetricLevel) -> RelabeledMetricVec<Self>; fn relabel_n( self, _: MetricLevel, _: MetricLevel, _: usize, ) -> RelabeledMetricVec<Self>; fn relabel_debug_1(self, _: MetricLevel) -> RelabeledMetricVec<Self>; }

Required Methods§

Source

fn relabel(self, _: MetricLevel, _: MetricLevel) -> RelabeledMetricVec<Self>

Source

fn relabel_n( self, _: MetricLevel, _: MetricLevel, _: usize, ) -> RelabeledMetricVec<Self>

Source

fn relabel_debug_1(self, _: MetricLevel) -> RelabeledMetricVec<Self>

Equivalent to RelabeledMetricVec::with_metric_level_relabel_n with metric_level set to MetricLevel::Debug and relabel_num set to 1.

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§

Source§

impl<M> MetricVecRelabelExt for M
where M: Sized,