pub enum RequestedWorkerStatus {
NotRequested,
Requested,
Honored,
Unavailable,
AdminDisabled,
TemporarilyBypassed,
WrongPlatform,
MissingRuntime,
ProjectExcluded,
NoFreeSlots,
}Expand description
Outcome class for an explicitly requested worker. Every non-Honored
variant is a structured refusal: the requested worker is not silently
swapped for another.
Variants§
NotRequested
No worker was explicitly requested.
Requested
A worker was requested but has not yet been evaluated against the fleet.
Honored
The requested worker is admissible and was honored.
The requested worker is unknown/unreachable/drained.
AdminDisabled
The requested worker was disabled by an operator.
TemporarilyBypassed
The requested worker is in transient quarantine (temporary bypass).
WrongPlatform
The requested worker’s OS/arch does not match the build target.
MissingRuntime
The requested worker lacks the required runtime/toolchain/target.
ProjectExcluded
The requested worker is excluded because it already runs this project.
NoFreeSlots
The requested worker has no free slots for this request.
Implementations§
Trait Implementations§
Source§impl Clone for RequestedWorkerStatus
impl Clone for RequestedWorkerStatus
impl Copy for RequestedWorkerStatus
Source§impl Debug for RequestedWorkerStatus
impl Debug for RequestedWorkerStatus
Source§impl<'de> Deserialize<'de> for RequestedWorkerStatus
impl<'de> Deserialize<'de> for RequestedWorkerStatus
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 RequestedWorkerStatus
Source§impl JsonSchema for RequestedWorkerStatus
impl JsonSchema for RequestedWorkerStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RequestedWorkerStatus
impl PartialEq for RequestedWorkerStatus
Source§impl Serialize for RequestedWorkerStatus
impl Serialize for RequestedWorkerStatus
impl StructuralPartialEq for RequestedWorkerStatus
Auto Trait Implementations§
impl Freeze for RequestedWorkerStatus
impl RefUnwindSafe for RequestedWorkerStatus
impl Send for RequestedWorkerStatus
impl Sync for RequestedWorkerStatus
impl Unpin for RequestedWorkerStatus
impl UnsafeUnpin for RequestedWorkerStatus
impl UnwindSafe for RequestedWorkerStatus
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.