pub enum GoalCompleteReason {
Verified,
MaxIterations,
Cancelled,
Error,
UnverifiedStop,
}Expand description
Reason goal mode stopped.
Variants§
Verified
The model emitted the completion marker and no post-handoff audit is pending.
MaxIterations
The retry iteration budget was exhausted.
Cancelled
The host cancelled the run.
Error
The run failed while goal mode was active.
UnverifiedStop
The host stopped goal mode without a verified marker.
Implementations§
Trait Implementations§
Source§impl Clone for GoalCompleteReason
impl Clone for GoalCompleteReason
Source§fn clone(&self) -> GoalCompleteReason
fn clone(&self) -> GoalCompleteReason
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 GoalCompleteReason
Source§impl Debug for GoalCompleteReason
impl Debug for GoalCompleteReason
Source§impl<'de> Deserialize<'de> for GoalCompleteReason
impl<'de> Deserialize<'de> for GoalCompleteReason
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
impl Eq for GoalCompleteReason
Source§impl PartialEq for GoalCompleteReason
impl PartialEq for GoalCompleteReason
Source§impl Serialize for GoalCompleteReason
impl Serialize for GoalCompleteReason
impl StructuralPartialEq for GoalCompleteReason
Auto Trait Implementations§
impl Freeze for GoalCompleteReason
impl RefUnwindSafe for GoalCompleteReason
impl Send for GoalCompleteReason
impl Sync for GoalCompleteReason
impl Unpin for GoalCompleteReason
impl UnsafeUnpin for GoalCompleteReason
impl UnwindSafe for GoalCompleteReason
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