pub enum AttemptOutcomeKind {
Success,
RetryableFailure,
TerminalFailure,
Timeout,
Suspended,
}Expand description
Classification of a terminal attempt outcome for retry-decision inputs.
Variants§
Success
The attempt completed successfully.
RetryableFailure
The attempt failed and may be retried.
TerminalFailure
The attempt failed permanently.
Timeout
The attempt exceeded timeout constraints.
Suspended
The attempt was voluntarily suspended (budget exhaustion / preemption).
Implementations§
Source§impl AttemptOutcomeKind
impl AttemptOutcomeKind
pub fn from_response(response: &ExecutorResponse) -> Self
Trait Implementations§
Source§impl Clone for AttemptOutcomeKind
impl Clone for AttemptOutcomeKind
Source§fn clone(&self) -> AttemptOutcomeKind
fn clone(&self) -> AttemptOutcomeKind
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 AttemptOutcomeKind
impl Debug for AttemptOutcomeKind
Source§impl PartialEq for AttemptOutcomeKind
impl PartialEq for AttemptOutcomeKind
impl Copy for AttemptOutcomeKind
impl Eq for AttemptOutcomeKind
impl StructuralPartialEq for AttemptOutcomeKind
Auto Trait Implementations§
impl Freeze for AttemptOutcomeKind
impl RefUnwindSafe for AttemptOutcomeKind
impl Send for AttemptOutcomeKind
impl Sync for AttemptOutcomeKind
impl Unpin for AttemptOutcomeKind
impl UnsafeUnpin for AttemptOutcomeKind
impl UnwindSafe for AttemptOutcomeKind
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