pub enum WorkerDiffState {
Ready,
MissingFromFleet,
RecoveredNotRejoined,
AdminDisabled,
TemporarilyBypassed,
Unreachable,
FactsUnknown,
CommandIneligible,
Unconfigured,
}Expand description
The single diagnosis for one worker, explaining whether — and why not — it can run the selected command right now.
Variants§
Ready
Usable for the command right now.
MissingFromFleet
Configured but absent from the daemon pool and unreachable — never joined (or fell out and is down).
RecoveredNotRejoined
Reachable again but not back in the daemon pool — recovered, not rejoined.
AdminDisabled
Administratively disabled.
TemporarilyBypassed
Temporarily bypassed; expected to recover.
Unreachable
In the pool but not answering probes.
FactsUnknown
No trustworthy capability facts.
CommandIneligible
Healthy and in the pool, but not admissible for THIS command.
Unconfigured
Present in the live pool but not in the desired config (an orphan).
Implementations§
Trait Implementations§
Source§impl Clone for WorkerDiffState
impl Clone for WorkerDiffState
impl Copy for WorkerDiffState
Source§impl Debug for WorkerDiffState
impl Debug for WorkerDiffState
Source§impl<'de> Deserialize<'de> for WorkerDiffState
impl<'de> Deserialize<'de> for WorkerDiffState
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkerDiffState
Source§impl PartialEq for WorkerDiffState
impl PartialEq for WorkerDiffState
Source§impl Serialize for WorkerDiffState
impl Serialize for WorkerDiffState
impl StructuralPartialEq for WorkerDiffState
Auto Trait Implementations§
impl Freeze for WorkerDiffState
impl RefUnwindSafe for WorkerDiffState
impl Send for WorkerDiffState
impl Sync for WorkerDiffState
impl Unpin for WorkerDiffState
impl UnsafeUnpin for WorkerDiffState
impl UnwindSafe for WorkerDiffState
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,
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
Compare self to
key and return true if they are equal.