Trait mas_tower::MetricsAttributes
source · pub trait MetricsAttributes<T> {
type Iter<'a>: Iterator<Item = KeyValue>
where Self: 'a,
T: 'a;
// Required method
fn attributes<'a>(&'a self, t: &'a T) -> Self::Iter<'a>;
}
Expand description
Make metrics attributes from a type.
Required Associated Types§
Required Methods§
fn attributes<'a>(&'a self, t: &'a T) -> Self::Iter<'a>
Object Safety§
This trait is not object safe.