pub struct ComputeFuture { /* private fields */ }
Expand description
A custom future that yields a value after some computation
Implementations§
Trait Implementations§
Source§impl Future for ComputeFuture
impl Future for ComputeFuture
Auto Trait Implementations§
impl Freeze for ComputeFuture
impl RefUnwindSafe for ComputeFuture
impl Send for ComputeFuture
impl Sync for ComputeFuture
impl Unpin for ComputeFuture
impl UnwindSafe for ComputeFuture
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