pub struct AdmissionExplain {
pub state: String,
pub admissible: bool,
pub blocked_by: Option<BlockedBy>,
pub detail: Vec<(String, String)>,
pub estimated_admission_ms: Option<i64>,
}Expand description
admission policy the answer to “why is this job not running” — the question this design creates and the endpoint no predecessor needs, because no predecessor has a gate.
Fields§
§state: String§admissible: bool§blocked_by: Option<BlockedBy>§detail: Vec<(String, String)>State of the blocking policy — tokens left, queue position, crash count.
estimated_admission_ms: Option<i64>None when the block will not clear on its own (quarantine, paused queue).
Auto Trait Implementations§
impl Freeze for AdmissionExplain
impl RefUnwindSafe for AdmissionExplain
impl Send for AdmissionExplain
impl Sync for AdmissionExplain
impl Unpin for AdmissionExplain
impl UnsafeUnpin for AdmissionExplain
impl UnwindSafe for AdmissionExplain
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