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