pub enum BusyPolicy {
Wait,
Defer {
slot_wait: Duration,
},
}Expand description
What a Heavy check does when no slot frees in time (ADR-0013,
hooks.busy-policy).
Variants§
Wait
Wait up to greengate.timeout, then run unqueued with a note: ADR-0009’s
behaviour, and the default.
Defer
Wait up to slot_wait, then defer the check to CI.
Trait Implementations§
Source§impl Clone for BusyPolicy
impl Clone for BusyPolicy
impl Copy for BusyPolicy
Source§impl Debug for BusyPolicy
impl Debug for BusyPolicy
impl Eq for BusyPolicy
Source§impl PartialEq for BusyPolicy
impl PartialEq for BusyPolicy
impl StructuralPartialEq for BusyPolicy
Auto Trait Implementations§
impl Forget for BusyPolicy
impl Freeze for BusyPolicy
impl Move for BusyPolicy
impl RefUnwindSafe for BusyPolicy
impl Send for BusyPolicy
impl Sync for BusyPolicy
impl Unpin for BusyPolicy
impl UnsafeUnpin for BusyPolicy
impl UnwindSafe for BusyPolicy
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