pub trait Host {
// Required method
fn run(
&mut self,
binary: String,
args: Vec<String>,
env: Vec<(String, String)>,
) -> Result<ShellResult, String>;
}Required Methods§
fn run( &mut self, binary: String, args: Vec<String>, env: Vec<(String, String)>, ) -> Result<ShellResult, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".