#[non_exhaustive]pub enum CallDisposition {
Executed,
ShortCircuited,
Blocked,
Denied,
Rejected,
Truncated,
NotExecuted,
}Expand description
The furthest stable disposition reached by a started ToolCall.
Only
Self::Executed, Self::Denied, and Self::Rejected can be produced
by StepToolSnapshot::execute; the remaining states are reached by the
hook and terminal-unwind paths that observe the same closed vocabulary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Executed
Entered tool execution.
ShortCircuited
A hook supplied a result without execution.
Blocked
A hook blocked execution.
Denied
The configured gate denied execution.
Rejected
Core rejected an unavailable/forbidden/ungated call.
Truncated
Output-token truncation left the call incomplete.
NotExecuted
Terminal unwinding began before another stable disposition.
Trait Implementations§
Source§impl Clone for CallDisposition
impl Clone for CallDisposition
impl Copy for CallDisposition
Source§impl Debug for CallDisposition
impl Debug for CallDisposition
impl Eq for CallDisposition
Source§impl Hash for CallDisposition
impl Hash for CallDisposition
Source§impl PartialEq for CallDisposition
impl PartialEq for CallDisposition
impl StructuralPartialEq for CallDisposition
Auto Trait Implementations§
impl Freeze for CallDisposition
impl RefUnwindSafe for CallDisposition
impl Send for CallDisposition
impl Sync for CallDisposition
impl Unpin for CallDisposition
impl UnsafeUnpin for CallDisposition
impl UnwindSafe for CallDisposition
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