pub trait ProvideMeter: Send + Sync + Debug {
    // Required method
    fn get_meter(
        &self,
        scope: &'static str,
        attributes: Option<&Attributes>,
    ) -> Meter;
}
Available on non-PowerPC only.
Expand description

Provides named instances of Meter.

Required Methods§

fn get_meter( &self, scope: &'static str, attributes: Option<&Attributes>, ) -> Meter

Get or create a named Meter.

Implementors§