pub enum ToolStatus {
Running,
Done,
Failed,
Aborted,
}Expand description
How a tool call ended, as tool.execution_complete reported it.
Variants§
Running
Done
Failed
Aborted
The turn ended before the call reported anything: it was aborted, or the approval it waited for never came.
Trait Implementations§
Source§impl Clone for ToolStatus
impl Clone for ToolStatus
impl Copy for ToolStatus
Source§impl Debug for ToolStatus
impl Debug for ToolStatus
impl Eq for ToolStatus
Source§impl PartialEq for ToolStatus
impl PartialEq for ToolStatus
impl StructuralPartialEq for ToolStatus
Auto Trait Implementations§
impl Forget for ToolStatus
impl Freeze for ToolStatus
impl Move for ToolStatus
impl RefUnwindSafe for ToolStatus
impl Send for ToolStatus
impl Sync for ToolStatus
impl Unpin for ToolStatus
impl UnsafeUnpin for ToolStatus
impl UnwindSafe for ToolStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.