[][src]Struct futures_executor::LocalSpawn

pub struct LocalSpawn { /* fields omitted */ }

A handle to a LocalPool that implements Spawn.

Methods

impl LocalSpawn
[src]

Spawn a non-Send future onto the associated LocalPool.

Trait Implementations

impl Clone for LocalSpawn
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LocalSpawn
[src]

Formats the value using the given formatter. Read more

impl Spawn for LocalSpawn
[src]

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

futures in libcore are unstable

Spawns a new task with the given future. The future will be polled until completion. Read more

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

futures in libcore are unstable

Determines whether the executor is able to spawn new tasks. Read more

Auto Trait Implementations

impl !Send for LocalSpawn

impl !Sync for LocalSpawn