pub enum CasErrorKind {
Abort,
Conflict,
RetryExhausted,
AttemptTimeout,
MaxOperationElapsedExceeded,
MaxTotalElapsedExceeded,
}Expand description
Classified reason for a terminal CAS error.
Variants§
Abort
The operation explicitly aborted.
Conflict
Retry limits were exhausted by compare-and-swap conflicts.
RetryExhausted
Retry limits were exhausted by retryable business failures.
AttemptTimeout
A timeout aborted the flow or exhausted retry limits.
MaxOperationElapsedExceeded
The cumulative user operation elapsed-time budget expired.
MaxTotalElapsedExceeded
The monotonic total retry-flow elapsed-time budget expired.
Trait Implementations§
Source§impl Clone for CasErrorKind
impl Clone for CasErrorKind
Source§fn clone(&self) -> CasErrorKind
fn clone(&self) -> CasErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CasErrorKind
impl Debug for CasErrorKind
Source§impl PartialEq for CasErrorKind
impl PartialEq for CasErrorKind
impl Copy for CasErrorKind
impl Eq for CasErrorKind
impl StructuralPartialEq for CasErrorKind
Auto Trait Implementations§
impl Freeze for CasErrorKind
impl RefUnwindSafe for CasErrorKind
impl Send for CasErrorKind
impl Sync for CasErrorKind
impl Unpin for CasErrorKind
impl UnsafeUnpin for CasErrorKind
impl UnwindSafe for CasErrorKind
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