pub trait HasExecutionCaches: Send + Sync {
// Required methods
fn json_cache(&self) -> &UnifiedCache<ToolExecutionCacheKey, Value>;
fn dual_cache(
&self,
) -> &UnifiedCache<ToolExecutionCacheKey, SplitToolResult>;
}Expand description
Trait for contexts that expose JSON and dual-result caches.
Required Methods§
fn json_cache(&self) -> &UnifiedCache<ToolExecutionCacheKey, Value>
fn dual_cache(&self) -> &UnifiedCache<ToolExecutionCacheKey, SplitToolResult>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".