Struct opentelemetry::metrics::noop::NoopAsyncInstrument
source · pub struct NoopAsyncInstrument { /* private fields */ }
Available on crate feature
metrics
only.Expand description
A no-op async instrument.
Implementations§
Trait Implementations§
source§impl<T> AsyncInstrument<T> for NoopAsyncInstrument
impl<T> AsyncInstrument<T> for NoopAsyncInstrument
source§impl Debug for NoopAsyncInstrument
impl Debug for NoopAsyncInstrument
source§impl Default for NoopAsyncInstrument
impl Default for NoopAsyncInstrument
source§fn default() -> NoopAsyncInstrument
fn default() -> NoopAsyncInstrument
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NoopAsyncInstrument
impl Send for NoopAsyncInstrument
impl Sync for NoopAsyncInstrument
impl Unpin for NoopAsyncInstrument
impl UnwindSafe for NoopAsyncInstrument
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> 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.