pub trait CompactionEffect: InferenceEffect + From<ConversationEffect> {
// Provided method
fn compact(conversation: Conversation) -> Self { ... }
}Provided Methods§
Sourcefn compact(conversation: Conversation) -> Self
fn compact(conversation: Conversation) -> Self
Hosts that store messages individually can override this to update them in place.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".