Struct async_std::task::JoinHandle [−][src]
pub struct JoinHandle<T> { /* fields omitted */ }Expand description
A handle that awaits the result of a task.
Dropping a JoinHandle will detach the task, meaning that there is no longer
a handle to the task and no way to join on it.
Created when a task is spawned.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for JoinHandle<T>
impl<T> Send for JoinHandle<T> where
T: Send,
impl<T> Sync for JoinHandle<T>
impl<T> Unpin for JoinHandle<T>
impl<T> UnwindSafe for JoinHandle<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
A convenience for calling Future::poll() on !Unpin types.
Returns the result of self or other future, preferring self if both are ready. Read more
Returns the result of self or other future, with no preference if both are ready. Read more
Catches panics while polling the future. Read more
Boxes the future and changes its type to dyn Future + Send + 'a. Read more
Boxes the future and changes its type to dyn Future + 'a. Read more
into_future)The output that the future will produce on completion.
type Future = F
type Future = F
into_future)Which kind of future are we turning this into?
into_future)Creates a future from a value.