Struct futures::executor::SpawnWithHandle[][src]

pub struct SpawnWithHandle<F> { /* fields omitted */ }

A future representing the completion of task spawning, yielding a JoinHandle to the spawned task.

See spawn_with_handle for details.

Trait Implementations

impl<F> Debug for SpawnWithHandle<F> where
    F: Debug
[src]

Formats the value using the given formatter. Read more

impl<F> Future for SpawnWithHandle<F> where
    F: Future + Send + 'static,
    <F as Future>::Output: Send
[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<F> Send for SpawnWithHandle<F> where
    F: Send

impl<F> Sync for SpawnWithHandle<F> where
    F: Sync