pub enum ErrorCode {
InvalidIdentifier,
InvalidCapabilities,
NodeExecutionFailed,
ExecutionCancelled,
LifecycleObservationFailed,
MetadataCollectionFailed,
}Expand description
Stable machine-readable code for one Pureflow error condition.
Variants§
InvalidIdentifier
A user supplied identifier was malformed.
InvalidCapabilities
A node capability descriptor violated capability rules.
NodeExecutionFailed
A node failed while executing work.
ExecutionCancelled
Execution ended because cancellation was requested.
LifecycleObservationFailed
Runtime lifecycle observation failed.
MetadataCollectionFailed
Runtime metadata collection failed.
Implementations§
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).