pub enum ActionErrorKind {
Transient,
Permanent,
RateLimited,
}Expand description
Classifies executor errors for policy (retry vs fail, backoff, rate-limit).
Variants§
Transient
Transient (e.g. network blip); policy may retry.
Permanent
Permanent (e.g. validation); do not retry.
RateLimited
Rate-limited (e.g. 429); retry after retry_after_ms if set.
Trait Implementations§
Source§impl Clone for ActionErrorKind
impl Clone for ActionErrorKind
Source§fn clone(&self) -> ActionErrorKind
fn clone(&self) -> ActionErrorKind
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 moreAuto Trait Implementations§
impl Freeze for ActionErrorKind
impl RefUnwindSafe for ActionErrorKind
impl Send for ActionErrorKind
impl Sync for ActionErrorKind
impl Unpin for ActionErrorKind
impl UnsafeUnpin for ActionErrorKind
impl UnwindSafe for ActionErrorKind
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