pub struct Health {
pub slots: usize,
pub running: usize,
pub starting: usize,
pub warm: usize,
pub waiting: usize,
pub oldest_wait: Option<u64>,
}Expand description
Whether CI keeps up now, from Status::health.
Fields§
§slots: usizeEvery configured slot.
running: usizeSlots whose runner runs a job.
starting: usizeSlots whose runner waits for the queued job it started for.
warm: usizeSlots whose warm runner waits for jobs not queued yet.
waiting: usizeQueued jobs no runner holds yet.
oldest_wait: Option<u64>How long the oldest of them has waited, in seconds; None when none says when it was queued.
Implementations§
Trait Implementations§
impl Copy for Health
impl Eq for Health
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnsafeUnpin for Health
impl UnwindSafe for Health
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.