Trait wasmer_wasix::runners::Runner
source · pub trait Runner {
// Required methods
fn can_run_command(command: &Command) -> Result<bool, Error>
where Self: Sized;
fn run_command(
&mut self,
command_name: &str,
pkg: &BinaryPackage,
runtime: Arc<dyn Runtime + Send + Sync>,
) -> Result<(), Error>;
}
Expand description
Trait that all runners have to implement