pub enum CommandResult {
Output(String),
ClearSession,
CompactRequested,
ConsolidateRequested,
Quit,
Error(String),
}Expand description
Result of executing a slash command.
Variants§
Output(String)
Text output to display to the user.
ClearSession
Clear the conversation history and start a new session.
CompactRequested
Compact conversation history to reduce token usage.
ConsolidateRequested
Run memory consolidation (decay, extract patterns, prune).
Quit
Exit the REPL.
Error(String)
An error occurred during command execution.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandResult
impl RefUnwindSafe for CommandResult
impl Send for CommandResult
impl Sync for CommandResult
impl Unpin for CommandResult
impl UnsafeUnpin for CommandResult
impl UnwindSafe for CommandResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more