pub trait Runner {
// Required method
fn run(&mut self, job: &ChildJob) -> Result<u64, String>;
}Expand description
Runs one child job and returns its reply. The real one spawns a
process (ProcessRunner); tests inject a fake.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".