pub enum ToolHandlerOutput {
Completed(ToolResult),
Interaction(ToolInteractionRequest),
}Expand description
Output from one tool-handler transition.
Variants§
Completed(ToolResult)
The invocation reached a terminal result.
Interaction(ToolInteractionRequest)
The invocation is suspended pending a caller response.
Trait Implementations§
Source§impl Clone for ToolHandlerOutput
impl Clone for ToolHandlerOutput
Source§impl Debug for ToolHandlerOutput
impl Debug for ToolHandlerOutput
Source§impl<'de> Deserialize<'de> for ToolHandlerOutput
impl<'de> Deserialize<'de> for ToolHandlerOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ToolHandlerOutput
impl PartialEq for ToolHandlerOutput
Source§impl Serialize for ToolHandlerOutput
impl Serialize for ToolHandlerOutput
impl StructuralPartialEq for ToolHandlerOutput
Auto Trait Implementations§
impl Freeze for ToolHandlerOutput
impl RefUnwindSafe for ToolHandlerOutput
impl Send for ToolHandlerOutput
impl Sync for ToolHandlerOutput
impl Unpin for ToolHandlerOutput
impl UnsafeUnpin for ToolHandlerOutput
impl UnwindSafe for ToolHandlerOutput
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