pub enum AttemptResultKind {
Success,
Failure,
Timeout,
Suspended,
}Expand description
Canonical durable attempt outcome taxonomy.
Variants§
Success
Attempt completed successfully.
Failure
Attempt completed with a non-timeout failure.
Timeout
Attempt completed due to timeout classification.
Suspended
Attempt was preempted (e.g. budget exhaustion) and the run is now Suspended. Does not count toward the max_attempts retry cap.
Trait Implementations§
Source§impl Clone for AttemptResultKind
impl Clone for AttemptResultKind
Source§fn clone(&self) -> AttemptResultKind
fn clone(&self) -> AttemptResultKind
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 AttemptResultKind
impl Debug for AttemptResultKind
Source§impl PartialEq for AttemptResultKind
impl PartialEq for AttemptResultKind
impl Copy for AttemptResultKind
impl Eq for AttemptResultKind
impl StructuralPartialEq for AttemptResultKind
Auto Trait Implementations§
impl Freeze for AttemptResultKind
impl RefUnwindSafe for AttemptResultKind
impl Send for AttemptResultKind
impl Sync for AttemptResultKind
impl Unpin for AttemptResultKind
impl UnsafeUnpin for AttemptResultKind
impl UnwindSafe for AttemptResultKind
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