pub enum DeadLetterReason {
Rejected,
NotConfigured,
AttemptsExhausted,
Malformed,
}Expand description
Why a notification will never be delivered. The set matches the
CHECK constraint in 0001_init.sql.
Variants§
Rejected
The provider refused the request and will refuse it again.
NotConfigured
No adapter serves this recipient’s transport: the module is mounted without the transport it needs. A distinct reason so ops can tell “the payload is wrong” from “you forgot the keys”.
AttemptsExhausted
Retried to the bound and still failing.
Malformed
The outbox payload is not a job this module wrote.
Implementations§
Trait Implementations§
Source§impl Clone for DeadLetterReason
impl Clone for DeadLetterReason
impl Copy for DeadLetterReason
Source§impl Debug for DeadLetterReason
impl Debug for DeadLetterReason
impl Eq for DeadLetterReason
Source§impl PartialEq for DeadLetterReason
impl PartialEq for DeadLetterReason
impl StructuralPartialEq for DeadLetterReason
Auto Trait Implementations§
impl Freeze for DeadLetterReason
impl RefUnwindSafe for DeadLetterReason
impl Send for DeadLetterReason
impl Sync for DeadLetterReason
impl Unpin for DeadLetterReason
impl UnsafeUnpin for DeadLetterReason
impl UnwindSafe for DeadLetterReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.