pub trait Executor {
    type Step: Step;
    type Output: Send;

    // Required methods
    fn execute<'life0, 'async_trait>(
        &'life0 self,
        input: <<Self as Executor>::Step as Step>::Output
    ) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn apply_output_to_parameters(
        parameters: Parameters,
        output: &Self::Output
    ) -> Parameters;
    fn combine_outputs(
        output: &Self::Output,
        other: &Self::Output
    ) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn execute<'life0, 'async_trait>( &'life0 self, input: <<Self as Executor>::Step as Step>::Output ) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn apply_output_to_parameters( parameters: Parameters, output: &Self::Output ) -> Parameters

source

fn combine_outputs(output: &Self::Output, other: &Self::Output) -> Self::Output

Implementors§