Trait Runner

Source
pub trait Runner<'a, I: IntoIterator<Item = &'a Command>>: Debug {
    // Required method
    fn run(
        &self,
        commands: I,
        max_parallel_commands: usize,
    ) -> Result<Vec<CommandResult>>;
}
Expand description

Runner Interface

Required Methods§

Source

fn run( &self, commands: I, max_parallel_commands: usize, ) -> Result<Vec<CommandResult>>

Execute all commands and wait until all commands return

Implementors§

Source§

impl<'a, I: IntoIterator<Item = &'a Command>> Runner<'a, I> for ThreadRunner