pub enum QueryErrorKind {
JobLeaseOwnerMismatch,
JobInvalidCompletionProgress,
JobInvalidContinuationDelay,
JobInvalidRetryTiming,
JobUnstartedClaimReleaseNotApplicable,
JobWorkflowHandlerContinuationNotEnabled,
JobWorkflowRequeueNotSupported,
WorkflowReleaseConflict,
}Expand description
Stable semantic kinds for database errors that drive runtime policy.
Human- and machine-readable error codes remain available through
QueryError::code. This enum is deliberately smaller: it covers errors
whose handling must stay compile-checked across Runledger crates instead of
depending on duplicated string literals.
Variants§
JobLeaseOwnerMismatch
JobInvalidCompletionProgress
JobInvalidContinuationDelay
JobInvalidRetryTiming
JobUnstartedClaimReleaseNotApplicable
JobWorkflowHandlerContinuationNotEnabled
JobWorkflowRequeueNotSupported
WorkflowReleaseConflict
Trait Implementations§
Source§impl Clone for QueryErrorKind
impl Clone for QueryErrorKind
Source§fn clone(&self) -> QueryErrorKind
fn clone(&self) -> QueryErrorKind
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 QueryErrorKind
Source§impl Debug for QueryErrorKind
impl Debug for QueryErrorKind
impl Eq for QueryErrorKind
Source§impl PartialEq for QueryErrorKind
impl PartialEq for QueryErrorKind
impl StructuralPartialEq for QueryErrorKind
Auto Trait Implementations§
impl Freeze for QueryErrorKind
impl RefUnwindSafe for QueryErrorKind
impl Send for QueryErrorKind
impl Sync for QueryErrorKind
impl Unpin for QueryErrorKind
impl UnsafeUnpin for QueryErrorKind
impl UnwindSafe for QueryErrorKind
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
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>
Converts
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>
Converts
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