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.