pub struct AsyncContext<C, T, F>{ /* private fields */ }
Expand description
Represents an async execution context that carries data of type C
while executing
a future of type F
that produces output of type T
Trait Implementations§
Source§impl<C, T, F> Future for AsyncContext<C, T, F>
impl<C, T, F> Future for AsyncContext<C, T, F>
impl<'pin, C, T, F> Unpin for AsyncContext<C, T, F>
Auto Trait Implementations§
impl<C, T, F> !Freeze for AsyncContext<C, T, F>
impl<C, T, F> RefUnwindSafe for AsyncContext<C, T, F>where
F: RefUnwindSafe,
impl<C, T, F> Send for AsyncContext<C, T, F>
impl<C, T, F> Sync for AsyncContext<C, T, F>
impl<C, T, F> UnwindSafe for AsyncContext<C, T, 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<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