Trait rasi_syscall::Executor
source · pub trait Executor: Send + Sync {
// Required method
fn spawn_boxed(&self, fut: BoxFuture<'static, ()>);
}
Available on crate feature
executor
only.Expand description
Future task system call interface.
Required Methods§
sourcefn spawn_boxed(&self, fut: BoxFuture<'static, ()>)
fn spawn_boxed(&self, fut: BoxFuture<'static, ()>)
Spawns a task that polls the given boxed
future with output () to completion.