Skip to main content

MemoryStoreExt

Trait MemoryStoreExt 

Source
pub trait MemoryStoreExt: MemoryStore {
Show 24 methods // Provided methods fn append_trigger<'life0, 'async_trait>( &'life0 self, record: TriggerRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, Self: Sync + 'async_trait { ... } fn append_model_decision<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ModelDecisionRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_trigger_intent<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: TriggerIntentRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_deliberation<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: DeliberationRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_tool_execution_graph<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolExecutionGraph, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_execution_plan<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ExecutionPlanRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_summary<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: SummaryRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_tool_node_checkpoint<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolNodeCheckpointRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_skill_input_validation<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: SkillInputValidationRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_kernel_event<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: KernelEventRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_tool_call<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolCallRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_tool_result<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolResultRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_pending_approval<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: PendingApprovalRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_approval_resolution<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ApprovalResolutionRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_delegation<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: DelegationRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_coordination_claim<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: CoordinationClaimRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_provider_usage<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ProviderUsageRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_provider_cache<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ProviderCacheRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_reflection<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ReflectionRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_policy_tuning<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: PolicyTuningRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_strategy_preference<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: StrategyPreferenceRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_tool_performance<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolPerformanceRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_profile_patch<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ProfilePatchRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... } fn append_outcome<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: OutcomeRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait { ... }
}

Provided Methods§

Source

fn append_trigger<'life0, 'async_trait>( &'life0 self, record: TriggerRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_model_decision<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ModelDecisionRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_trigger_intent<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: TriggerIntentRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_deliberation<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: DeliberationRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_tool_execution_graph<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolExecutionGraph, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_execution_plan<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ExecutionPlanRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_summary<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: SummaryRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_tool_node_checkpoint<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolNodeCheckpointRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_skill_input_validation<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: SkillInputValidationRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_kernel_event<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: KernelEventRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_tool_call<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolCallRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_tool_result<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolResultRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_pending_approval<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: PendingApprovalRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_approval_resolution<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ApprovalResolutionRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_delegation<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: DelegationRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_coordination_claim<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: CoordinationClaimRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_provider_usage<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ProviderUsageRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_provider_cache<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ProviderCacheRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_reflection<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ReflectionRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_policy_tuning<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: PolicyTuningRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_strategy_preference<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: StrategyPreferenceRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_tool_performance<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ToolPerformanceRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_profile_patch<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: ProfilePatchRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Source

fn append_outcome<'life0, 'life1, 'async_trait>( &'life0 self, session_id: &'life1 str, record: OutcomeRecord, ) -> Pin<Box<dyn Future<Output = Result<StoredSessionRecord, MemoryError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Sync + 'async_trait,

Implementors§

Source§

impl<T> MemoryStoreExt for T
where T: MemoryStore + ?Sized,