pub trait MetricVecRelabelExtwhere
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§
sourcefn relabel(self, _: MetricLevel, _: MetricLevel) -> RelabeledMetricVec<Self>
fn relabel(self, _: MetricLevel, _: MetricLevel) -> RelabeledMetricVec<Self>
Equivalent to RelabeledMetricVec::with_metric_level
.
sourcefn relabel_n(
self,
_: MetricLevel,
_: MetricLevel,
_: usize,
) -> RelabeledMetricVec<Self>
fn relabel_n( self, _: MetricLevel, _: MetricLevel, _: usize, ) -> RelabeledMetricVec<Self>
Equivalent to RelabeledMetricVec::with_metric_level_relabel_n
.
sourcefn relabel_debug_1(self, _: MetricLevel) -> RelabeledMetricVec<Self>
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.
Object Safety§
This trait is not object safe.