pub struct JoinHandle { /* private fields */ }Expand description
One completion observer, sharing the coroutine’s control allocation.
Trait Implementations§
Source§impl Future for JoinHandle
impl Future for JoinHandle
Auto Trait Implementations§
impl Freeze for JoinHandle
impl !RefUnwindSafe for JoinHandle
impl !Send for JoinHandle
impl !Sync for JoinHandle
impl Unpin for JoinHandle
impl UnsafeUnpin for JoinHandle
impl !UnwindSafe for JoinHandle
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
§impl<F, T, E> TryFuture for F
impl<F, T, E> TryFuture for F
§impl<F> WithTimeout for Fwhere
F: Future,
impl<F> WithTimeout for Fwhere
F: Future,
§fn with_timeout(self, timeout: Duration) -> TimeoutFuture<F>
fn with_timeout(self, timeout: Duration) -> TimeoutFuture<F>
Runs a given future with a timeout. Read more
§fn with_deadline(self, at: Instant) -> TimeoutFuture<F>
fn with_deadline(self, at: Instant) -> TimeoutFuture<F>
Runs a given future with a deadline time. Read more