pub enum BlockingReason {
Idle {
include_draft: bool,
},
DependencyBlocked {
blocked_tasks: usize,
},
ScheduleBlocked {
blocked_tasks: usize,
next_runnable_at: Option<String>,
seconds_until_next_runnable: Option<i64>,
},
LockBlocked {
lock_path: Option<String>,
owner: Option<String>,
owner_pid: Option<u32>,
},
CiBlocked {
exit_code: Option<i32>,
pattern: Option<String>,
},
RunnerRecovery {
scope: String,
reason: String,
task_id: Option<String>,
},
OperatorRecovery {
scope: String,
reason: String,
suggested_command: Option<String>,
},
MixedQueue {
dependency_blocked: usize,
schedule_blocked: usize,
status_filtered: usize,
},
}Variants§
Idle
DependencyBlocked
ScheduleBlocked
Fields
LockBlocked
CiBlocked
RunnerRecovery
OperatorRecovery
MixedQueue
Trait Implementations§
Source§impl Clone for BlockingReason
impl Clone for BlockingReason
Source§fn clone(&self) -> BlockingReason
fn clone(&self) -> BlockingReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockingReason
impl Debug for BlockingReason
Source§impl<'de> Deserialize<'de> for BlockingReason
impl<'de> Deserialize<'de> for BlockingReason
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
Source§impl JsonSchema for BlockingReason
impl JsonSchema for BlockingReason
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 BlockingReason
impl PartialEq for BlockingReason
Source§impl Serialize for BlockingReason
impl Serialize for BlockingReason
impl Eq for BlockingReason
impl StructuralPartialEq for BlockingReason
Auto Trait Implementations§
impl Freeze for BlockingReason
impl RefUnwindSafe for BlockingReason
impl Send for BlockingReason
impl Sync for BlockingReason
impl Unpin for BlockingReason
impl UnsafeUnpin for BlockingReason
impl UnwindSafe for BlockingReason
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.