pub struct WorkerLiveness {
pub telemetry_stale: bool,
pub healthy: bool,
pub has_free_slot: bool,
}Expand description
A worker’s live admission state, separate from its (structural) capability. Capability says can this worker ever run the command; liveness says is it usable right now. Keeping them distinct is what lets selection report a missing-capability reason instead of conflating it with an unhealthy or busy worker.
Fields§
§telemetry_stale: boolThe worker’s capability facts are too stale to trust.
healthy: boolThe worker is healthy (circuit closed, reachable).
has_free_slot: boolThe worker has at least one free build slot.
Implementations§
Trait Implementations§
Source§impl Clone for WorkerLiveness
impl Clone for WorkerLiveness
impl Copy for WorkerLiveness
Source§impl Debug for WorkerLiveness
impl Debug for WorkerLiveness
impl Eq for WorkerLiveness
Source§impl PartialEq for WorkerLiveness
impl PartialEq for WorkerLiveness
impl StructuralPartialEq for WorkerLiveness
Auto Trait Implementations§
impl Freeze for WorkerLiveness
impl RefUnwindSafe for WorkerLiveness
impl Send for WorkerLiveness
impl Sync for WorkerLiveness
impl Unpin for WorkerLiveness
impl UnsafeUnpin for WorkerLiveness
impl UnwindSafe for WorkerLiveness
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.