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

Required methods

fn into_labels(self) -> Vec<Label>[src]

Expand description

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

Implementations on Foreign Types

impl IntoLabels for Vec<Label>[src]

impl IntoLabels for Iter<'_, Label>[src]

impl<T, L> IntoLabels for &T where
    Self: IntoIterator<Item = L>,
    L: Into<Label>, 
[src]

Implementors