pub trait LlmContextManager:
Send
+ Sync
+ Debug {
// Required methods
fn set_context(&self, model: &str, component: &str);
fn clear_context(&self);
}Expand description
Port (trait) for LLM context management
Extensions like structured_logging can implement this trait to provide concrete context management functionality.
Required Methods§
fn set_context(&self, model: &str, component: &str)
fn clear_context(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".