Skip to main content

HasExecutionCaches

Trait HasExecutionCaches 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§