Struct opentelemetry::metrics::noop::NoopMeterProvider
source · [−]pub struct NoopMeterProvider { /* private fields */ }
Available on crate feature
metrics
only.Expand description
A no-op instance of a MetricProvider
Implementations
sourceimpl NoopMeterProvider
impl NoopMeterProvider
sourcepub fn new() -> NoopMeterProvider
pub fn new() -> NoopMeterProvider
Create a new no-op meter provider.
Trait Implementations
sourceimpl Debug for NoopMeterProvider
impl Debug for NoopMeterProvider
sourceimpl Default for NoopMeterProvider
impl Default for NoopMeterProvider
sourcefn default() -> NoopMeterProvider
fn default() -> NoopMeterProvider
Returns the “default value” for a type. Read more
sourceimpl MeterProvider for NoopMeterProvider
impl MeterProvider for NoopMeterProvider
Auto Trait Implementations
impl RefUnwindSafe for NoopMeterProvider
impl Send for NoopMeterProvider
impl Sync for NoopMeterProvider
impl Unpin for NoopMeterProvider
impl UnwindSafe for NoopMeterProvider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more