Skip to main content

SkillExecutor

Trait SkillExecutor 

Source
pub trait SkillExecutor: Send + Sync {
    // Required methods
    fn execute<'life0, 'async_trait>(
        &'life0 self,
        invocation: SkillInvocation,
    ) -> Pin<Box<dyn Future<Output = Result<Value, SkillExecutionError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn executor_kind(&self) -> &'static str;
}

Required Methods§

Source

fn execute<'life0, 'async_trait>( &'life0 self, invocation: SkillInvocation, ) -> Pin<Box<dyn Future<Output = Result<Value, SkillExecutionError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn executor_kind(&self) -> &'static str

Implementors§