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

pub struct SpawnWithHandle<F>(_);

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

A successful value

An error


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

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


Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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