Struct futures_executor::LocalSpawner [−][src]
pub struct LocalSpawner { /* fields omitted */ }
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LocalSpawner
impl !Send for LocalSpawner
impl !Sync for LocalSpawner
impl Unpin for LocalSpawner
impl !UnwindSafe for LocalSpawner
Blanket Implementations
Mutably borrows from an owned value. Read more
fn spawn_local<Fut>(&self, future: Fut) -> Result<(), SpawnError> where
Fut: Future<Output = ()> + 'static,
fn spawn_local<Fut>(&self, future: Fut) -> Result<(), SpawnError> where
Fut: Future<Output = ()> + 'static,
Spawns a task that polls the given future with output ()
to
completion. Read more