pub struct ObserverResult<T> { /* private fields */ }
Available on crate feature
metrics
only.Expand description
Data passed to an observer callback to capture observations for one asynchronous metric instrument.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ObserverResult<T>
impl<T> !RefUnwindSafe for ObserverResult<T>
impl<T> Send for ObserverResult<T>where
T: Send,
impl<T> Sync for ObserverResult<T>where
T: Sync,
impl<T> Unpin for ObserverResult<T>where
T: Unpin,
impl<T> !UnwindSafe for ObserverResult<T>
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.