Struct futures_executor::LocalExecutor
[−]
[src]
pub struct LocalExecutor { /* fields omitted */ }
Methods
impl LocalExecutor[src]
pub fn spawn_local<F>(&mut self, f: F) -> Result<(), SpawnError> where
F: Future<Item = (), Error = Never> + 'static, [src]
F: Future<Item = (), Error = Never> + 'static,
Spawn a non-Send future onto the associated LocalPool.
Trait Implementations
impl Clone for LocalExecutor[src]
fn clone(&self) -> LocalExecutor[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more