pub enum NotifyEvent {
RunFailed,
TaskFailed,
TaskRetry,
RunCancelled,
RunSucceeded,
RunRecovered,
TriggerFailing,
LateCleanupFailed,
}Expand description
An event a channel can be told of (decision 408; Notify in Python, decision 409).
Variants§
RunFailed
A run ended failed (a cancel with a failure included).
TaskFailed
A task failed after its last retry.
TaskRetry
An attempt failed and will be retried.
RunCancelled
A run was cancelled, with no failure.
RunSucceeded
A run ended success.
RunRecovered
A run succeeded after the DAG’s previous run failed.
TriggerFailing
The DAG’s trigger kept failing ([triggers] failing_after), or its generator returned.
LateCleanupFailed
A cleanup that ran after its run had ended failed (decision 309).
Implementations§
Trait Implementations§
Source§impl Clone for NotifyEvent
impl Clone for NotifyEvent
Source§fn clone(&self) -> NotifyEvent
fn clone(&self) -> NotifyEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotifyEvent
Source§impl Debug for NotifyEvent
impl Debug for NotifyEvent
Source§impl<'de> Deserialize<'de> for NotifyEvent
impl<'de> Deserialize<'de> for NotifyEvent
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 Display for NotifyEvent
impl Display for NotifyEvent
impl Eq for NotifyEvent
Source§impl Hash for NotifyEvent
impl Hash for NotifyEvent
Source§impl JsonSchema for NotifyEvent
impl JsonSchema for NotifyEvent
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 Ord for NotifyEvent
impl Ord for NotifyEvent
Source§fn cmp(&self, other: &NotifyEvent) -> Ordering
fn cmp(&self, other: &NotifyEvent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NotifyEvent
impl PartialEq for NotifyEvent
Source§impl PartialOrd for NotifyEvent
impl PartialOrd for NotifyEvent
Source§impl Serialize for NotifyEvent
impl Serialize for NotifyEvent
impl StructuralPartialEq for NotifyEvent
Auto Trait Implementations§
impl Freeze for NotifyEvent
impl RefUnwindSafe for NotifyEvent
impl Send for NotifyEvent
impl Sync for NotifyEvent
impl Unpin for NotifyEvent
impl UnsafeUnpin for NotifyEvent
impl UnwindSafe for NotifyEvent
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