#[non_exhaustive]pub enum WorkflowStoreErrorKind {
InvalidInput,
NotFound,
Conflict,
LeaseLost,
AdmissionDenied,
TenantMismatch,
Storage,
}Expand description
Stable workflow-store failure category.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidInput
Input violated a domain invariant.
NotFound
The requested task does not exist.
Conflict
A create-only operation found an existing task.
LeaseLost
The caller no longer owns the current unexpired lease.
AdmissionDenied
A tenant admission limit prevented the operation.
TenantMismatch
The supplied tenant does not own the requested resource.
Storage
The backing store failed.
Trait Implementations§
Source§impl Clone for WorkflowStoreErrorKind
impl Clone for WorkflowStoreErrorKind
Source§fn clone(&self) -> WorkflowStoreErrorKind
fn clone(&self) -> WorkflowStoreErrorKind
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 WorkflowStoreErrorKind
Source§impl Debug for WorkflowStoreErrorKind
impl Debug for WorkflowStoreErrorKind
impl Eq for WorkflowStoreErrorKind
Source§impl PartialEq for WorkflowStoreErrorKind
impl PartialEq for WorkflowStoreErrorKind
impl StructuralPartialEq for WorkflowStoreErrorKind
Auto Trait Implementations§
impl Freeze for WorkflowStoreErrorKind
impl RefUnwindSafe for WorkflowStoreErrorKind
impl Send for WorkflowStoreErrorKind
impl Sync for WorkflowStoreErrorKind
impl Unpin for WorkflowStoreErrorKind
impl UnsafeUnpin for WorkflowStoreErrorKind
impl UnwindSafe for WorkflowStoreErrorKind
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