pub struct AdminDisableRecord {
pub worker_id: String,
pub reason: Option<String>,
pub disabled_unix_ms: u64,
}Expand description
A durable record of an admin/system worker disable.
handle_worker_disable only flips in-memory lifecycle state, so every
disable — an operator’s rch workers disable, or the automatic
cpu-capability-fault quarantine — silently evaporated on daemon restart
(observed live 2026-08-09: ovh-b, quarantined for SIGILL-ing AVX2 build
scripts, rejoined the pool after a launchctl kickstart and would have
served one false build failure per restart). Unlike a BypassRecord,
an admin disable has NO recovery probing or auto-rejoin: hardware does not
heal on restart, and an operator’s explicit disable stands until an
explicit enable removes the record.
Fields§
§worker_id: StringWorker id (the store’s key).
reason: Option<String>Disable reason as given by the operator or fault path, if any.
disabled_unix_ms: u64Unix epoch milliseconds when the disable was recorded.
Trait Implementations§
Source§impl Clone for AdminDisableRecord
impl Clone for AdminDisableRecord
Source§impl Debug for AdminDisableRecord
impl Debug for AdminDisableRecord
Source§impl<'de> Deserialize<'de> for AdminDisableRecord
impl<'de> Deserialize<'de> for AdminDisableRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AdminDisableRecord
Source§impl PartialEq for AdminDisableRecord
impl PartialEq for AdminDisableRecord
Source§impl Serialize for AdminDisableRecord
impl Serialize for AdminDisableRecord
impl StructuralPartialEq for AdminDisableRecord
Auto Trait Implementations§
impl Freeze for AdminDisableRecord
impl RefUnwindSafe for AdminDisableRecord
impl Send for AdminDisableRecord
impl Sync for AdminDisableRecord
impl Unpin for AdminDisableRecord
impl UnsafeUnpin for AdminDisableRecord
impl UnwindSafe for AdminDisableRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.