pub trait FutureSpawner {
// Required method
fn spawn_boxed_future(&self, future: BoxFuture<'static, ()>);
}Expand description
Future executor must implement this trait to support register to hala register system.
Required Methods§
Sourcefn spawn_boxed_future(&self, future: BoxFuture<'static, ()>)
fn spawn_boxed_future(&self, future: BoxFuture<'static, ()>)
The implementation must panic if this function spawn future failed.