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

Provides named instances of Meter.

Required Methods§

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

Get or create a named Meter.

fn as_any(&self) -> &(dyn Any + 'static)

Foo

Implementors§