Skip to main content

Runner

Trait Runner 

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

Source

fn run(&mut self, job: &ChildJob) -> Result<u64, String>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§