#[non_exhaustive]pub enum NodeDispatchReason {
FirstAttempt,
SupersededAttempt,
SafeRetry,
}Expand description
Stable reason that one logical activation may start a new physical attempt.
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.
FirstAttempt
No physical attempt has ever started for the activation.
SupersededAttempt
An unfinished attempt belongs to a superseded lower worker fence.
SafeRetry
A failed attempt explicitly authorized a retry whose delay elapsed.
Trait Implementations§
Source§impl Clone for NodeDispatchReason
impl Clone for NodeDispatchReason
impl Copy for NodeDispatchReason
Source§impl Debug for NodeDispatchReason
impl Debug for NodeDispatchReason
impl Eq for NodeDispatchReason
Source§impl Hash for NodeDispatchReason
impl Hash for NodeDispatchReason
Source§impl PartialEq for NodeDispatchReason
impl PartialEq for NodeDispatchReason
impl StructuralPartialEq for NodeDispatchReason
Auto Trait Implementations§
impl Forget for NodeDispatchReason
impl Freeze for NodeDispatchReason
impl Move for NodeDispatchReason
impl RefUnwindSafe for NodeDispatchReason
impl Send for NodeDispatchReason
impl Sync for NodeDispatchReason
impl Unpin for NodeDispatchReason
impl UnsafeUnpin for NodeDispatchReason
impl UnwindSafe for NodeDispatchReason
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