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
sourceimpl NoopSyncInstrument
impl NoopSyncInstrument
sourcepub fn new() -> NoopSyncInstrument
pub fn new() -> NoopSyncInstrument
Create a new no-op sync instrument
Trait Implementations
sourceimpl Debug for NoopSyncInstrument
impl Debug for NoopSyncInstrument
sourceimpl Default for NoopSyncInstrument
impl Default for NoopSyncInstrument
sourcefn default() -> NoopSyncInstrument
fn default() -> NoopSyncInstrument
Returns the “default value” for a type. Read more
sourceimpl<T> SyncCounter<T> for NoopSyncInstrument
impl<T> SyncCounter<T> for NoopSyncInstrument
sourceimpl<T> SyncHistogram<T> for NoopSyncInstrument
impl<T> SyncHistogram<T> for NoopSyncInstrument
sourceimpl<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
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