penumbra_sdk_funding::component::metrics

Trait IntoLabels

Source
pub trait IntoLabels {
    // Required method
    fn into_labels(self) -> Vec<Label>;
}
Available on crate feature component only.
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, L> IntoLabels for &T
where &T: IntoIterator<Item = L>, L: Into<Label>, T: ?Sized,

Implementors§