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: Debug> Debug for SpawnWithHandle<F>
[src]

Formats the value using the given formatter. Read more

impl<F> Future for SpawnWithHandle<F> where
    F: Future + Send + 'static,
    F::Item: Send,
    F::Error: Send
[src]

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

Auto Trait Implementations

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

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