pub struct InstrumentFuture<F, I, H> { /* private fields */ }
Expand description
Attaches a I
-typed instruments to the result of an F
-typed Future
.
Implementations§
Source§impl<F, I, H> InstrumentFuture<F, I, H>
impl<F, I, H> InstrumentFuture<F, I, H>
Trait Implementations§
Source§impl<F, I, H, T, E> Future for InstrumentFuture<F, I, H>
impl<F, I, H, T, E> Future for InstrumentFuture<F, I, H>
impl<'pin, F, I, H> Unpin for InstrumentFuture<F, I, H>where
__InstrumentFuture<'pin, F, I, H>: Unpin,
impl<F, I, H> UnsafeUnpin for InstrumentFuture<F, I, H>
Auto Trait Implementations§
impl<F, I, H> Freeze for InstrumentFuture<F, I, H>
impl<F, I, H> RefUnwindSafe for InstrumentFuture<F, I, H>
impl<F, I, H> Send for InstrumentFuture<F, I, H>
impl<F, I, H> Sync for InstrumentFuture<F, I, H>
impl<F, I, H> UnwindSafe for InstrumentFuture<F, I, H>
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<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