Skip to main content

SandboxAwareExecutor

Trait SandboxAwareExecutor 

Source
pub trait SandboxAwareExecutor: Send + Sync {
    // Required method
    fn execute_sandboxed<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        step_def: &'life1 StepDef,
        config: &'life2 StepConfig,
        context: &'life3 Context,
        sandbox: &'life4 SharedSandbox,
    ) -> Pin<Box<dyn Future<Output = Result<StepOutput, StepError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait;
}
Expand description

Extended trait for executors that can run inside a sandbox

Required Methods§

Source

fn execute_sandboxed<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, step_def: &'life1 StepDef, config: &'life2 StepConfig, context: &'life3 Context, sandbox: &'life4 SharedSandbox, ) -> Pin<Box<dyn Future<Output = Result<StepOutput, StepError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Implementors§