pub enum ToolExecutionStreamItem {
Event(ToolExecutionEvent),
Result {
result: ToolResult,
feedback: Vec<String>,
},
}Expand description
Items yielded by the streaming executor — lifecycle events as they happen, and final results once each call completes.
Variants§
Event(ToolExecutionEvent)
An ToolExecutionEvent — informational; may be emitted out of call order.
Result
A finished tool’s ToolResult — emitted in the original call order at end of batch.
Trait Implementations§
Source§impl Clone for ToolExecutionStreamItem
impl Clone for ToolExecutionStreamItem
Source§fn clone(&self) -> ToolExecutionStreamItem
fn clone(&self) -> ToolExecutionStreamItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ToolExecutionStreamItem
impl RefUnwindSafe for ToolExecutionStreamItem
impl Send for ToolExecutionStreamItem
impl Sync for ToolExecutionStreamItem
impl Unpin for ToolExecutionStreamItem
impl UnsafeUnpin for ToolExecutionStreamItem
impl UnwindSafe for ToolExecutionStreamItem
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