substrate::execute

Trait Executor

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