pub struct InMemoryPlanStore { /* private fields */ }Implementations§
Source§impl InMemoryPlanStore
impl InMemoryPlanStore
pub fn new() -> InMemoryPlanStore
Trait Implementations§
Source§impl Default for InMemoryPlanStore
impl Default for InMemoryPlanStore
Source§fn default() -> InMemoryPlanStore
fn default() -> InMemoryPlanStore
Returns the “default value” for a type. Read more
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 = Result<(), AgentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
InMemoryPlanStore: 'async_trait,
fn load_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
plan_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<PlanStoreData>, AgentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
InMemoryPlanStore: 'async_trait,
fn delete_plan<'life0, 'life1, 'async_trait>(
&'life0 self,
plan_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AgentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
InMemoryPlanStore: 'async_trait,
fn list_plans<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, AgentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
InMemoryPlanStore: 'async_trait,
Auto Trait Implementations§
impl !Freeze for InMemoryPlanStore
impl !RefUnwindSafe for InMemoryPlanStore
impl !UnwindSafe for InMemoryPlanStore
impl Send for InMemoryPlanStore
impl Sync for InMemoryPlanStore
impl Unpin for InMemoryPlanStore
impl UnsafeUnpin 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