pub struct SpawnedFuture<'a>(/* private fields */);
Expand description
Future equivalent of a join handle
Trait Implementations§
Source§impl<'a> Future for SpawnedFuture<'a>
impl<'a> Future for SpawnedFuture<'a>
Auto Trait Implementations§
impl<'a> Freeze for SpawnedFuture<'a>
impl<'a> !RefUnwindSafe for SpawnedFuture<'a>
impl<'a> !Send for SpawnedFuture<'a>
impl<'a> !Sync for SpawnedFuture<'a>
impl<'a> Unpin for SpawnedFuture<'a>
impl<'a> !UnwindSafe for SpawnedFuture<'a>
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