pub struct NoopBoundSyncInstrument { /* private fields */ }Available on crate feature
metrics only.Expand description
A no-op bound sync instrument
Implementations§
Trait Implementations§
Source§impl Debug for NoopBoundSyncInstrument
impl Debug for NoopBoundSyncInstrument
Source§impl Default for NoopBoundSyncInstrument
impl Default for NoopBoundSyncInstrument
Source§fn default() -> NoopBoundSyncInstrument
fn default() -> NoopBoundSyncInstrument
Returns the “default value” for a type. Read more
Source§impl SyncBoundInstrumentCore for NoopBoundSyncInstrument
impl SyncBoundInstrumentCore for NoopBoundSyncInstrument
Source§fn record_one(&self, _number: Number)
fn record_one(&self, _number: Number)
Capture a single synchronous metric event.
Auto Trait Implementations§
impl Freeze for NoopBoundSyncInstrument
impl RefUnwindSafe for NoopBoundSyncInstrument
impl Send for NoopBoundSyncInstrument
impl Sync for NoopBoundSyncInstrument
impl Unpin for NoopBoundSyncInstrument
impl UnwindSafe for NoopBoundSyncInstrument
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.