fn run_intermediate_command(
        &self,
        command: &Command<'_>,
        error_output: &'static str,
    ) -> Result<TimingResult> {
        self.executor
            .run_command_and_measure(command, Some(CmdFailureAction::RaiseError))
            .map(|r| r.0)
            .map_err(|_| anyhow!(error_output))
    }
/// Run setup, cleanup, or preparation commands
Run setup, cleanup, or preparation commands
Run setup cleanup or preparation commands
fn run_intermediate_command(
        &self,
        command: &Command<'_>,
        error_output: &'static str,
    ) -> Result<TimingResult> {
        self.executor
            .run_command_and_measure(command, Some(CmdFailureAction::RaiseError))
            .map(|r| r.0)
            .map_err(|_| anyhow!(error_output))
    }
fn run_intermediate_command ( & self , command : & Command < ' _ > , error_output : & ' static str , ) -> Result < TimingResult > { self . executor . run_command_and_measure ( command , Some ( CmdFailureAction :: RaiseError ) ) . map ( | r | r . 0 ) . map_err ( | _ | anyhow ! ( error_output ) ) }
Run setup, cleanup, or preparation commands
Run setup cleanup or preparation commands
&self
command
&Command<'_>
error_output
&'static str