Struct futures::executor::LocalSpawner [−][src]
pub struct LocalSpawner { /* fields omitted */ }
Trait Implementations
impl Clone for LocalSpawner
[src]
impl Clone for LocalSpawner
[src]pub fn clone(&self) -> LocalSpawner
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl LocalSpawn for LocalSpawner
[src]
impl LocalSpawn for LocalSpawner
[src]pub fn spawn_local_obj(
&self,
future: LocalFutureObj<'static, ()>
) -> Result<(), SpawnError>
[src]
&self,
future: LocalFutureObj<'static, ()>
) -> Result<(), SpawnError>
pub fn status_local(&self) -> Result<(), SpawnError>
[src]
impl Spawn for LocalSpawner
[src]
impl Spawn for LocalSpawner
[src]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
impl<Sp> LocalSpawnExt for Sp where
Sp: LocalSpawn + ?Sized,
[src]
impl<Sp> LocalSpawnExt for Sp where
Sp: LocalSpawn + ?Sized,
[src]pub fn spawn_local<Fut>(&self, future: Fut) -> Result<(), SpawnError> where
Fut: Future<Output = ()> + 'static,
[src]
Fut: Future<Output = ()> + 'static,
pub fn spawn_local_with_handle<Fut>(
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError> where
Fut: Future + 'static,
[src]
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError> where
Fut: Future + 'static,
impl<Sp> SpawnExt for Sp where
Sp: Spawn + ?Sized,
[src]
impl<Sp> SpawnExt for Sp where
Sp: Spawn + ?Sized,
[src]pub fn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError> where
Fut: Future<Output = ()> + Send + 'static,
[src]
Fut: Future<Output = ()> + Send + 'static,
pub fn spawn_with_handle<Fut>(
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError> where
Fut: Future + Send + 'static,
<Fut as Future>::Output: Send,
[src]
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError> where
Fut: Future + Send + 'static,
<Fut as Future>::Output: Send,