pub enum Command {
UserMessage {
session: SessionId,
content: String,
},
ApproveTool {
call_id: String,
},
DenyTool {
call_id: String,
},
Shutdown,
}Variants§
UserMessage
Append a user turn and ask the LLM to continue.
ApproveTool
Approve a pending tool call.
DenyTool
Deny a pending tool call.
Shutdown
Graceful shutdown.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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