pub enum AttemptState {
None,
PendingFirstAttempt,
RunningAttempt,
AttemptInterrupted,
PendingRetryAttempt,
PendingReplayAttempt,
AttemptTerminal,
}Expand description
What is happening at the concrete run-attempt layer?
Variants§
None
No attempt context (e.g. freshly submitted, or skipped before any attempt).
PendingFirstAttempt
Awaiting initial claim.
RunningAttempt
An attempt is actively executing.
AttemptInterrupted
Current attempt was interrupted (crash, reclaim, suspension, delay, waiting children).
PendingRetryAttempt
Awaiting retry after failure.
PendingReplayAttempt
Awaiting replay after terminal state.
AttemptTerminal
The final attempt has concluded.
Trait Implementations§
Source§impl Clone for AttemptState
impl Clone for AttemptState
Source§fn clone(&self) -> AttemptState
fn clone(&self) -> AttemptState
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 AttemptState
impl Debug for AttemptState
Source§impl<'de> Deserialize<'de> for AttemptState
impl<'de> Deserialize<'de> for AttemptState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for AttemptState
impl Hash for AttemptState
Source§impl PartialEq for AttemptState
impl PartialEq for AttemptState
Source§impl Serialize for AttemptState
impl Serialize for AttemptState
impl Copy for AttemptState
impl Eq for AttemptState
impl StructuralPartialEq for AttemptState
Auto Trait Implementations§
impl Freeze for AttemptState
impl RefUnwindSafe for AttemptState
impl Send for AttemptState
impl Sync for AttemptState
impl Unpin for AttemptState
impl UnsafeUnpin for AttemptState
impl UnwindSafe for AttemptState
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