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
Required Methods§
Implementors§
impl Runner for DcgiRunner
Available on crate feature
webc_runner_rt_dcgi
only.impl Runner for DProxyRunner
Available on crate feature
webc_runner_rt_dproxy
only.impl Runner for WasiRunner
impl Runner for WcgiRunner
Available on crate feature
webc_runner_rt_wcgi
only.