pub enum Outcome {
Ok,
Failed,
Refused,
}Expand description
How one executed call ended, as far as the run’s own record knows.
Refused is not Failed, and the split is load-bearing. A denied
trace carries is_error: true as well as denied: true, so any counter
spelled is_error alone reports the approver doing its job as the step
going wrong — the same miscount the eval rig names on
ended_on_failed_call, which is why the fold below spells it
unknown || (is_error && !denied). A step whose calls were refused was
blocked; a step whose calls failed did not land. Telling the model the
first is the second would send it to fix code that is working.
Variants§
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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