Trait metrics::IntoLabels [−][src]
pub trait IntoLabels { fn into_labels(self) -> Vec<Label>; }
Expand description
A value that can be converted to a vector of Label
s.
Required methods
fn into_labels(self) -> Vec<Label>
[src]
Expand description
Consumes this value, turning it into a vector of Label
s.
Implementations on Foreign Types
impl IntoLabels for Vec<Label>
[src]
impl IntoLabels for Vec<Label>
[src]fn into_labels(self) -> Vec<Label>
[src]
impl IntoLabels for Iter<'_, Label>
[src]
impl IntoLabels for Iter<'_, Label>
[src]fn into_labels(self) -> Vec<Label>
[src]
impl<T, L> IntoLabels for &T where
Self: IntoIterator<Item = L>,
L: Into<Label>,
[src]
impl<T, L> IntoLabels for &T where
Self: IntoIterator<Item = L>,
L: Into<Label>,
[src]