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