Struct opentelemetry_api::global::GlobalMeterProvider
source · pub struct GlobalMeterProvider { /* private fields */ }
Expand description
Represents the globally configured MeterProvider
instance for this
application.
Implementations§
source§impl GlobalMeterProvider
impl GlobalMeterProvider
sourcepub fn new<P>(provider: P) -> Selfwhere
P: MeterProvider + Send + Sync + 'static,
pub fn new<P>(provider: P) -> Selfwhere P: MeterProvider + Send + Sync + 'static,
Create a new global meter provider
Trait Implementations§
source§impl Clone for GlobalMeterProvider
impl Clone for GlobalMeterProvider
source§fn clone(&self) -> GlobalMeterProvider
fn clone(&self) -> GlobalMeterProvider
Returns a copy 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 GlobalMeterProvider
impl Debug for GlobalMeterProvider
Auto Trait Implementations§
impl !RefUnwindSafe for GlobalMeterProvider
impl Send for GlobalMeterProvider
impl Sync for GlobalMeterProvider
impl Unpin for GlobalMeterProvider
impl !UnwindSafe for GlobalMeterProvider
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