Skip to main content

Planner

Trait Planner 

Source
pub trait Planner: Send + Sync {
    // Required method
    fn plan<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        state: &'life1 AgentStateSnapshot,
        trigger: &'life2 AgentTrigger,
    ) -> Pin<Box<dyn Future<Output = PlannerOutput> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait;
}

Required Methods§

Source

fn plan<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, state: &'life1 AgentStateSnapshot, trigger: &'life2 AgentTrigger, ) -> Pin<Box<dyn Future<Output = PlannerOutput> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Implementors§