[][src]Trait iza::resource::Executor

pub trait Executor {
    fn new_executor<ED>(executor_details: ED) -> Result<Self, Error>
    where
        ED: Into<ExecutorDetails>,
        Self: Sized
;
fn new_execution_of_command_strings(
        &self,
        command_strings: &CommandStrings
    ) -> Arc<Execution<Box<dyn FnOnce()>>>; }

Executor execute something for deployment

Required methods

fn new_executor<ED>(executor_details: ED) -> Result<Self, Error> where
    ED: Into<ExecutorDetails>,
    Self: Sized

new Executor

fn new_execution_of_command_strings(
    &self,
    command_strings: &CommandStrings
) -> Arc<Execution<Box<dyn FnOnce()>>>

Executor generate new Execution of CommandStrings

Loading content...

Implementors

impl Executor for SSHExecutor[src]

Loading content...