Skip to main content

Executor

Trait Executor 

Source
pub trait Executor: Send + Sync {
    // Required method
    fn run_command<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        command: &'life1 str,
        work_dir: &'life2 Path,
        timeout: Duration,
        env: &'life3 HashMap<String, String>,
    ) -> Pin<Box<dyn Future<Output = StepOutput> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn run_command<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, command: &'life1 str, work_dir: &'life2 Path, timeout: Duration, env: &'life3 HashMap<String, String>, ) -> Pin<Box<dyn Future<Output = StepOutput> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§