pub struct FutureWithContext<Fut, T> { /* private fields */ }
Expand description
Adaptor returned by FutureExt::change_context
.
Trait Implementations§
Auto Trait Implementations§
impl<Fut, T> Freeze for FutureWithContext<Fut, T>
impl<Fut, T> RefUnwindSafe for FutureWithContext<Fut, T>where
Fut: RefUnwindSafe,
T: RefUnwindSafe,
impl<Fut, T> Send for FutureWithContext<Fut, T>
impl<Fut, T> Sync for FutureWithContext<Fut, T>
impl<Fut, T> Unpin for FutureWithContext<Fut, T>
impl<Fut, T> UnwindSafe for FutureWithContext<Fut, T>where
Fut: UnwindSafe,
T: 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<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