pub enum ToolExecutionEvent {
Progress(ToolProgress),
Finished(ToolResult),
Failed(ToolExecutionFailure),
}Expand description
One normalized tool execution stream event.
Variants§
Progress(ToolProgress)
Non-durable progress.
Finished(ToolResult)
Successful terminal result.
Failed(ToolExecutionFailure)
Failed or cancelled terminal result.
Trait Implementations§
Source§impl Clone for ToolExecutionEvent
impl Clone for ToolExecutionEvent
Source§fn clone(&self) -> ToolExecutionEvent
fn clone(&self) -> ToolExecutionEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolExecutionEvent
impl Debug for ToolExecutionEvent
Source§impl PartialEq for ToolExecutionEvent
impl PartialEq for ToolExecutionEvent
impl StructuralPartialEq for ToolExecutionEvent
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