pub enum RoundOutcome {
Reported,
Proceeded,
Escalated {
reason: String,
},
BudgetExhausted {
limit: BudgetLimit,
},
Failed {
error: String,
},
}Expand description
What one round of a loop did.
Variants§
Reported
L1 (or any escalate-by-design round): the loop investigated and the finding is delivered as a report. No change was applied.
Proceeded
The gate auto-approved a verified proposal — the loop is cleared to carry out its action (commit / PR / comment / …).
Escalated
Handed to a human with context. The loop will recurse next tick.
BudgetExhausted
A spend ceiling was crossed mid-round; the loop stopped early.
Fields
§
limit: BudgetLimitFailed
The sandbox, maker, or checker errored. Best-effort: the scheduler keeps ticking; this round simply produced nothing actionable.
Trait Implementations§
Source§impl Clone for RoundOutcome
impl Clone for RoundOutcome
Source§impl Debug for RoundOutcome
impl Debug for RoundOutcome
impl Eq for RoundOutcome
Source§impl PartialEq for RoundOutcome
impl PartialEq for RoundOutcome
impl StructuralPartialEq for RoundOutcome
Auto Trait Implementations§
impl Forget for RoundOutcome
impl Freeze for RoundOutcome
impl RefUnwindSafe for RoundOutcome
impl Send for RoundOutcome
impl Sync for RoundOutcome
impl Unpin for RoundOutcome
impl UnsafeUnpin for RoundOutcome
impl UnwindSafe for RoundOutcome
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§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.