Trait metrics::IntoLabels

source ·
pub trait IntoLabels {
    // Required method
    fn into_labels(self) -> Vec<Label>;
}
Expand description

A value that can be converted to a vector of Labels.

Required Methods§

source

fn into_labels(self) -> Vec<Label>

Consumes this value, turning it into a vector of Labels.

Implementations on Foreign Types§

source§

impl IntoLabels for Vec<Label>

source§

impl IntoLabels for Iter<'_, Label>

source§

impl<T: ?Sized, L> IntoLabels for &Twhere Self: IntoIterator<Item = L>, L: Into<Label>,

Implementors§