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
sourceimpl NoopAsyncInstrument
impl NoopAsyncInstrument
sourcepub fn new() -> NoopAsyncInstrument
pub fn new() -> NoopAsyncInstrument
Create a new no-op async instrument
Trait Implementations
sourceimpl<T> AsyncCounter<T> for NoopAsyncInstrument
impl<T> AsyncCounter<T> for NoopAsyncInstrument
sourceimpl<T> AsyncGauge<T> for NoopAsyncInstrument
impl<T> AsyncGauge<T> for NoopAsyncInstrument
sourceimpl<T> AsyncUpDownCounter<T> for NoopAsyncInstrument
impl<T> AsyncUpDownCounter<T> for NoopAsyncInstrument
sourceimpl Debug for NoopAsyncInstrument
impl Debug for NoopAsyncInstrument
sourceimpl Default for NoopAsyncInstrument
impl Default for NoopAsyncInstrument
sourcefn 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
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