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