#[non_exhaustive]pub enum LifecycleEventKind {
Show 30 variants
LaunchAccepted,
JobStarting,
StepStarting,
JobStarted,
StepStarted,
JobStopping,
StepStopping,
JobStopped,
StepStopped,
JobCompleted,
StepCompleted,
JobFailed,
StepFailed,
JobUnknown,
StepUnknown,
ChunkStarted,
ChunkCommitted,
ChunkRolledBack,
ChunkUnknown,
JobBeforeListenerFailed,
JobAfterListenerFailed,
StepBeforeListenerFailed,
StepAfterListenerFailed,
RetryReserved,
RetryBackoffStarted,
RetryBackoffCancelled,
RetryExhausted,
ItemSkipped,
FaultRollbackCommitted,
FaultNoRollbackCommitted,
}Expand description
Stable M1 lifecycle event names.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
LaunchAccepted
The repository accepted a launch and created its execution graph.
JobStarting
Job metadata is durably STARTING.
StepStarting
Step metadata is durably STARTING.
JobStarted
Job metadata is durably STARTED.
StepStarted
Step metadata is durably STARTED.
JobStopping
Job metadata is durably STOPPING.
StepStopping
Step metadata is durably STOPPING.
JobStopped
Job metadata is durably STOPPED.
StepStopped
Step metadata is durably STOPPED.
JobCompleted
Job metadata is durably COMPLETED.
StepCompleted
Step metadata is durably COMPLETED.
JobFailed
Job metadata is durably FAILED.
StepFailed
Step metadata is durably FAILED.
JobUnknown
Job metadata is durably UNKNOWN.
StepUnknown
Step metadata is durably UNKNOWN.
ChunkStarted
A bounded chunk transaction is starting.
ChunkCommitted
A bounded chunk transaction committed.
ChunkRolledBack
A bounded chunk transaction rolled back.
ChunkUnknown
A chunk commit result is unknown.
JobBeforeListenerFailed
A job before-listener returned an error or panicked.
JobAfterListenerFailed
A job after-listener returned an error or panicked.
StepBeforeListenerFailed
A step before-listener returned an error or panicked.
StepAfterListenerFailed
A step after-listener returned an error or panicked.
RetryReserved
A retry ordinal became durably reserved.
RetryBackoffStarted
A cancellable backoff wait started.
RetryBackoffCancelled
Cooperative stop cancelled a backoff wait.
RetryExhausted
A retry budget is durably spent for one key.
ItemSkipped
A skip became authoritative in the accepting chunk commit.
FaultRollbackCommitted
A known rollback was classified by the fault policy.
FaultNoRollbackCommitted
A commit-safe skip committed without rolling back.
Implementations§
Source§impl LifecycleEventKind
impl LifecycleEventKind
Sourcepub const fn telemetry_kind(self) -> TelemetryEventKind
pub const fn telemetry_kind(self) -> TelemetryEventKind
Maps this legacy facade event into telemetry schema version 1.
Sourcepub const fn component(self) -> EventComponent
pub const fn component(self) -> EventComponent
Returns the component associated with the event.
Sourcepub const fn status(self) -> Option<BatchStatus>
pub const fn status(self) -> Option<BatchStatus>
Returns the lifecycle status represented by the event, when any.
Sourcepub const fn severity(self) -> EventSeverity
pub const fn severity(self) -> EventSeverity
Returns the stable event severity.
Trait Implementations§
Source§impl Clone for LifecycleEventKind
impl Clone for LifecycleEventKind
Source§fn clone(&self) -> LifecycleEventKind
fn clone(&self) -> LifecycleEventKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for LifecycleEventKind
Source§impl Debug for LifecycleEventKind
impl Debug for LifecycleEventKind
Source§impl Display for LifecycleEventKind
impl Display for LifecycleEventKind
impl Eq for LifecycleEventKind
Source§impl Hash for LifecycleEventKind
impl Hash for LifecycleEventKind
Source§impl Ord for LifecycleEventKind
impl Ord for LifecycleEventKind
Source§fn cmp(&self, other: &LifecycleEventKind) -> Ordering
fn cmp(&self, other: &LifecycleEventKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for LifecycleEventKind
impl PartialEq for LifecycleEventKind
Source§impl PartialOrd for LifecycleEventKind
impl PartialOrd for LifecycleEventKind
impl StructuralPartialEq for LifecycleEventKind
Auto Trait Implementations§
impl Freeze for LifecycleEventKind
impl RefUnwindSafe for LifecycleEventKind
impl Send for LifecycleEventKind
impl Sync for LifecycleEventKind
impl Unpin for LifecycleEventKind
impl UnsafeUnpin for LifecycleEventKind
impl UnwindSafe for LifecycleEventKind
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more