pub enum Rung {
Retry(u32),
Reroute(ModelRef),
Escalate,
}Expand description
One rung of a node’s recovery ladder, climbed in order until a rung succeeds or the rungs run out.
Variants§
Retry(u32)
Up to N further attempts, unchanged.
Reroute(ModelRef)
One attempt against a different model.
Escalate
Terminal: stop, record why, and surface it to cuttlefish escalations. Must be the last rung — see GraphParser::ladder.
Trait Implementations§
impl Eq for Rung
impl StructuralPartialEq for Rung
Auto Trait Implementations§
impl Freeze for Rung
impl RefUnwindSafe for Rung
impl Send for Rung
impl Sync for Rung
impl Unpin for Rung
impl UnsafeUnpin for Rung
impl UnwindSafe for Rung
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