pub enum ToolEvent {
Started {
tool_name: String,
command: String,
},
OutputChunk {
tool_name: String,
command: String,
chunk: String,
},
Completed {
tool_name: String,
command: String,
output: String,
success: bool,
filter_stats: Option<FilterStats>,
diff: Option<DiffData>,
},
}Expand description
Event emitted during tool execution for real-time UI updates.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolEvent
impl RefUnwindSafe for ToolEvent
impl Send for ToolEvent
impl Sync for ToolEvent
impl Unpin for ToolEvent
impl UnsafeUnpin for ToolEvent
impl UnwindSafe for ToolEvent
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