Skip to main content

Runner

Type Alias Runner 

Source
pub type Runner<'a> = dyn Fn(&str, &[&str]) -> Result<String, CommandError> + 'a;
Expand description

Runs one command: the real run with a deadline, or a stand-in in tests.