pub struct DeferredFuture<Args, T, F>{ /* private fields */ }
Expand description
A future that runs a function in a new thread without blocking.
Trait Implementations§
Source§impl<Args, T, F> Future for DeferredFuture<Args, T, F>
impl<Args, T, F> Future for DeferredFuture<Args, T, F>
Auto Trait Implementations§
impl<Args, T, F> Freeze for DeferredFuture<Args, T, F>
impl<Args, T, F> RefUnwindSafe for DeferredFuture<Args, T, F>where
Args: RefUnwindSafe,
F: RefUnwindSafe,
impl<Args, T, F> Send for DeferredFuture<Args, T, F>
impl<Args, T, F> !Sync for DeferredFuture<Args, T, F>
impl<Args, T, F> Unpin for DeferredFuture<Args, T, F>
impl<Args, T, F> UnwindSafe for DeferredFuture<Args, T, F>where
Args: UnwindSafe,
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