pub enum Disposal {
Proceed,
CorrectiveSteer {
text: String,
},
BackOff {
until: TimeMs,
code: AxCode,
subject: String,
},
Freeze {
reason: FreezeReason,
},
}Expand description
Deliberately exhaustive: a new disposal must force every run loop to decide, not fall through a catch-all.
Variants§
Proceed
CorrectiveSteer
BackOff
Try the same call again, not before this moment. The moment
comes from the backoff schedule Watchdog owns, and the
failure travels with it: “backed off” without what it backed
off from is a line nobody can act on, and a second writer of
that half of the fact could drift from this one.
Freeze
Fields
§
reason: FreezeReasonTrait Implementations§
impl Eq for Disposal
impl StructuralPartialEq for Disposal
Auto Trait Implementations§
impl Freeze for Disposal
impl RefUnwindSafe for Disposal
impl Send for Disposal
impl Sync for Disposal
impl Unpin for Disposal
impl UnsafeUnpin for Disposal
impl UnwindSafe for Disposal
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