pub trait Runner {
// Required method
fn run(&mut self, program: &str, lib_dir: &Path) -> Outcome;
}Expand description
Something that can run a shell program: the caller’s terminal, a pseudo-terminal, or a test double.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".