pub enum EventMsg {
TaskStarted(Value),
TaskComplete(Value),
UserMessage(Value),
AgentMessage(Value),
TokenCount(Box<TokenCountEvent>),
ExecCommandEnd(Box<ExecCommandEnd>),
PatchApplyEnd(Box<PatchApplyEnd>),
Other {
kind: String,
payload: Value,
},
}Expand description
Non-model events: task lifecycle, exec results, patch application,
token accounting, and a long tail of less common variants. The
crate strongly-types the common ones and captures the rest as raw
Value.
Variants§
TaskStarted(Value)
TaskComplete(Value)
UserMessage(Value)
AgentMessage(Value)
TokenCount(Box<TokenCountEvent>)
ExecCommandEnd(Box<ExecCommandEnd>)
PatchApplyEnd(Box<PatchApplyEnd>)
Other
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventMsg
impl RefUnwindSafe for EventMsg
impl Send for EventMsg
impl Sync for EventMsg
impl Unpin for EventMsg
impl UnsafeUnpin for EventMsg
impl UnwindSafe for EventMsg
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