pub struct RequestExecutionFuture<'a, T> { /* private fields */ }Expand description
Future that installs one request root only while its child is polled.
The root owns counters across suspension. Ambient state is restored after every poll, including completion and unwinding, so interleaved futures cannot observe or charge each other’s request. The already-boxed child is type-erased so this poll state machine is shared across endpoint future types; that retains one allocation and adds one indirect child poll.
Trait Implementations§
Source§impl<T> Future for RequestExecutionFuture<'_, T>
impl<T> Future for RequestExecutionFuture<'_, T>
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for RequestExecutionFuture<'a, T>
impl<'a, T> !Send for RequestExecutionFuture<'a, T>
impl<'a, T> !Sync for RequestExecutionFuture<'a, T>
impl<'a, T> !UnwindSafe for RequestExecutionFuture<'a, T>
impl<'a, T> Freeze for RequestExecutionFuture<'a, T>
impl<'a, T> Unpin for RequestExecutionFuture<'a, T>
impl<'a, T> UnsafeUnpin for RequestExecutionFuture<'a, 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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