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§fn clone(&self) -> RoundOutcome
fn clone(&self) -> RoundOutcome
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 moreSource§impl Debug for RoundOutcome
impl Debug for RoundOutcome
impl Eq for RoundOutcome
Source§impl PartialEq for RoundOutcome
impl PartialEq for RoundOutcome
Source§fn eq(&self, other: &RoundOutcome) -> bool
fn eq(&self, other: &RoundOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RoundOutcome
Auto Trait Implementations§
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