pub struct InMemoryPlanStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for InMemoryPlanStore
impl Default for InMemoryPlanStore
Source§impl PlanStore for InMemoryPlanStore
impl PlanStore for InMemoryPlanStore
fn save_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
plan: &'life1 ExecutionPlan,
metadata: Value,
) -> Pin<Box<dyn Future<Output = AgentResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
plan_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = AgentResult<Option<PlanStoreData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
plan_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = AgentResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_plans<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AgentResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for InMemoryPlanStore
impl !RefUnwindSafe for InMemoryPlanStore
impl Send for InMemoryPlanStore
impl Sync for InMemoryPlanStore
impl Unpin for InMemoryPlanStore
impl UnsafeUnpin for InMemoryPlanStore
impl !UnwindSafe for InMemoryPlanStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more