Skip to main content

ReasoningEngine

Trait ReasoningEngine 

Source
pub trait ReasoningEngine: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn execute<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        r_ctx: &'life1 mut ReasoningContext<'life2>,
    ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn execute<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, r_ctx: &'life1 mut ReasoningContext<'life2>, ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§