pub struct PollRecordingFuture<F> { /* private fields */ }Expand description
A future which records the elapsed time and the number of polls in the active log context
Trait Implementations§
Source§impl<F: Future> Future for PollRecordingFuture<F>
impl<F: Future> Future for PollRecordingFuture<F>
impl<'__pin, F> Unpin for PollRecordingFuture<F>where
PinnedFieldsOf<__Origin<'__pin, F>>: Unpin,
Auto Trait Implementations§
impl<F> Freeze for PollRecordingFuture<F>where
F: Freeze,
impl<F> RefUnwindSafe for PollRecordingFuture<F>where
F: RefUnwindSafe,
impl<F> Send for PollRecordingFuture<F>where
F: Send,
impl<F> Sync for PollRecordingFuture<F>where
F: Sync,
impl<F> UnsafeUnpin for PollRecordingFuture<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for PollRecordingFuture<F>where
F: UnwindSafe,
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>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more