[−][src]Trait futures_core::task::Spawn
The Spawn
trait allows for pushing futures onto an executor that will
run them to completion.
Required methods
Provided methods
fn status(&self) -> Result<(), SpawnError>
[+]
Implementations on Foreign Types
impl<Sp: ?Sized + Spawn, '_> Spawn for &'_ mut Sp
[src][−]
fn spawn_obj(
&mut self,
future: FutureObj<'static, ()>
) -> Result<(), SpawnError>
[src]
&mut self,
future: FutureObj<'static, ()>
) -> Result<(), SpawnError>
fn status(&self) -> Result<(), SpawnError>
[src]
impl<Sp: ?Sized + Spawn> Spawn for Box<Sp>
[src][−]
fn spawn_obj(
&mut self,
future: FutureObj<'static, ()>
) -> Result<(), SpawnError>
[src]
&mut self,
future: FutureObj<'static, ()>
) -> Result<(), SpawnError>