pub trait CommandDebugHistoryContext {
// Required methods
fn last_user_input(&self) -> Option<String>;
fn load_composer(&mut self, input: String);
fn undo_conversation(&mut self) -> DebugConversationUndo;
}Required Methods§
fn last_user_input(&self) -> Option<String>
fn load_composer(&mut self, input: String)
Sourcefn undo_conversation(&mut self) -> DebugConversationUndo
fn undo_conversation(&mut self) -> DebugConversationUndo
Prepare a last-exchange rollback without mutating the live transcript. The host applies it only after the Engine acknowledges the truncated conversation; retry additionally waits for durable persistence (#6788).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".