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.
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.