pub enum ToolExecutionEvent {
Started {
tool_id: String,
tool_name: String,
},
Progress {
tool_id: String,
progress: ProgressNotificationParam,
},
Complete {
tool_id: String,
result: Result<ToolCallResult, ToolCallError>,
result_meta: Option<ToolResultMeta>,
},
}Expand description
Events emitted during tool execution lifecycle
Variants§
Started
Progress
Complete
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolExecutionEvent
impl RefUnwindSafe for ToolExecutionEvent
impl Send for ToolExecutionEvent
impl Sync for ToolExecutionEvent
impl Unpin for ToolExecutionEvent
impl UnsafeUnpin for ToolExecutionEvent
impl UnwindSafe for ToolExecutionEvent
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