pub trait Executor: Any + Send + Sync {
    // Required method
    fn execute(&self, command: Command, opts: ExecOpts) -> Result<(), Error>;
}
Expand description

A job executor.

Required Methods§

source

fn execute(&self, command: Command, opts: ExecOpts) -> Result<(), Error>

Execute the given command with the given options, waiting until the command completes.

Implementors§