pub enum TurnStatus {
Success,
ProviderError,
UnexpectedEvent,
BudgetExceeded,
DoomLoopDetected,
Denied,
}Expand description
Final status recorded for a completed turn.
Variants§
Success
The turn completed successfully.
ProviderError
The provider failed before the turn could complete.
UnexpectedEvent
The provider emitted an unexpected event sequence.
BudgetExceeded
The turn exceeded its tool-call budget.
DoomLoopDetected
The turn was terminated due to doom-loop detection.
Denied
The turn was denied by a hook.
Trait Implementations§
Source§impl Clone for TurnStatus
impl Clone for TurnStatus
Source§fn clone(&self) -> TurnStatus
fn clone(&self) -> TurnStatus
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 moreimpl Copy for TurnStatus
Source§impl Debug for TurnStatus
impl Debug for TurnStatus
impl Eq for TurnStatus
Source§impl PartialEq for TurnStatus
impl PartialEq for TurnStatus
impl StructuralPartialEq for TurnStatus
Auto Trait Implementations§
impl Freeze for TurnStatus
impl RefUnwindSafe for TurnStatus
impl Send for TurnStatus
impl Sync for TurnStatus
impl Unpin for TurnStatus
impl UnsafeUnpin for TurnStatus
impl UnwindSafe for TurnStatus
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