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