Struct futures::compat::Executor01As03 [−][src]
pub struct Executor01As03<Ex> { /* fields omitted */ }
This is supported on crate feature
compat
only.Trait Implementations
Auto Trait Implementations
impl<Ex> RefUnwindSafe for Executor01As03<Ex> where
Ex: RefUnwindSafe,
impl<Ex> Send for Executor01As03<Ex> where
Ex: Send,
impl<Ex> Sync for Executor01As03<Ex> where
Ex: Sync,
impl<Ex> Unpin for Executor01As03<Ex> where
Ex: Unpin,
impl<Ex> UnwindSafe for Executor01As03<Ex> where
Ex: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Spawns a task that polls the given future with output ()
to
completion. Read more
fn spawn_with_handle<Fut>(
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError> where
Fut: 'static + Future + Send,
<Fut as Future>::Output: Send,
fn spawn_with_handle<Fut>(
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError> where
Fut: 'static + Future + Send,
<Fut as Future>::Output: Send,
Spawns a task that polls the given future to completion and returns a future that resolves to the spawned future’s output. Read more