pub struct RegistryMeterProvider(/* private fields */);Available on crate feature
metrics only.Expand description
A standard MeterProvider for wrapping a MeterCore.
Trait Implementations§
Source§impl Clone for RegistryMeterProvider
impl Clone for RegistryMeterProvider
Source§fn clone(&self) -> RegistryMeterProvider
fn clone(&self) -> RegistryMeterProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegistryMeterProvider
impl Debug for RegistryMeterProvider
Source§impl MeterProvider for RegistryMeterProvider
impl MeterProvider for RegistryMeterProvider
Source§fn meter(&self, name: &'static str, version: Option<&'static str>) -> Meter
fn meter(&self, name: &'static str, version: Option<&'static str>) -> Meter
Creates an implementation of the
Meter interface. The
instrumentation name must be the name of the library providing
instrumentation. This name may be the same as the instrumented code only if
that code provides built-in instrumentation. If the instrumentation name is
empty, then a implementation defined default name will be used instead.Auto Trait Implementations§
impl Freeze for RegistryMeterProvider
impl !RefUnwindSafe for RegistryMeterProvider
impl Send for RegistryMeterProvider
impl Sync for RegistryMeterProvider
impl Unpin for RegistryMeterProvider
impl !UnwindSafe for RegistryMeterProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Available on crate feature
trace only.Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Available on crate feature
trace only.