pub enum NackOutcome {
Requeued {
delay_ms: u64,
retry_count: u32,
},
DeadLettered,
}Expand description
Outcome of a NACK operation.
LLM guidance:
Requeuedmeans the message remains in-flight with a new scheduled visibility deadline; workers should not attempt it until then. Useful after 429/timeout.DeadLetteredindicates the message exceededmax_retriesand was moved toinfraqueue:{topic}:dlqfor inspection (e.g., bad prompt, invalid params).
Variants§
Trait Implementations§
Source§impl Clone for NackOutcome
impl Clone for NackOutcome
Source§fn clone(&self) -> NackOutcome
fn clone(&self) -> NackOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NackOutcome
impl RefUnwindSafe for NackOutcome
impl Send for NackOutcome
impl Sync for NackOutcome
impl Unpin for NackOutcome
impl UnsafeUnpin for NackOutcome
impl UnwindSafe for NackOutcome
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