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;
// Provided method
fn provider_name(&self) -> &'static str { ... }
}Expand description
Provides named instances of Meter.
Required Methods§
Provided Methods§
Sourcefn 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.