Trait ProvideMeter
pub trait ProvideMeter:
Send
+ Sync
+ Debug {
// Required methods
fn get_meter(
&self,
scope: &'static str,
attributes: Option<&Attributes>,
) -> Meter;
fn as_any(&self) -> &(dyn Any + 'static);
// Provided method
fn provider_name(&self) -> &'static str { ... }
}Expand description
Provides named instances of Meter.
Required Methods§
Provided Methods§
fn provider_name(&self) -> &'static str
fn provider_name(&self) -> &'static str
Returns the name of this provider implementation. This is used for feature tracking without requiring type imports.