[][src]Struct futures_util::task::JoinHandle

#[must_use = "futures do nothing unless polled"]
pub struct JoinHandle<T> { /* fields omitted */ }

The join handle returned by spawn_with_handle.

Methods

impl<T> JoinHandle<T>
[src]

Drops this handle without canceling the underlying future.

This method can be used if you want to drop the handle, but let the execution continue.

Trait Implementations

impl<T: Debug> Debug for JoinHandle<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Send + 'static> Future for JoinHandle<T>
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<T> Send for JoinHandle<T> where
    T: Send

impl<T> Sync for JoinHandle<T> where
    T: Send