Trait NodeExecutor

Source
pub trait NodeExecutor: Send + Sync {
    // Required method
    fn execute<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        node_type: &'life1 NodeType,
        config: &'life2 Value,
        context: &'life3 mut ExecutionContext,
    ) -> Pin<Box<dyn Future<Output = Result<NodeOutput>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn execute<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, node_type: &'life1 NodeType, config: &'life2 Value, context: &'life3 mut ExecutionContext, ) -> Pin<Box<dyn Future<Output = Result<NodeOutput>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§