Skip to main content

Runner

Trait Runner 

Source
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§

Source

fn run(&mut self, program: &str, lib_dir: &Path) -> Outcome

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§