pub enum DeadLetter {
Topic(String),
Discard,
}Expand description
Destination for deliveries that exhausted their attempts.
Variants§
Topic(String)
Republish the message to another topic on the same queue.
Discard
Acknowledge and drop the message.
Trait Implementations§
Source§impl Clone for DeadLetter
impl Clone for DeadLetter
Source§fn clone(&self) -> DeadLetter
fn clone(&self) -> DeadLetter
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 moreSource§impl Debug for DeadLetter
impl Debug for DeadLetter
Source§impl Default for DeadLetter
impl Default for DeadLetter
Source§fn default() -> DeadLetter
fn default() -> DeadLetter
Returns the “default value” for a type. Read more
impl Eq for DeadLetter
Source§impl PartialEq for DeadLetter
impl PartialEq for DeadLetter
impl StructuralPartialEq for DeadLetter
Auto Trait Implementations§
impl Freeze for DeadLetter
impl RefUnwindSafe for DeadLetter
impl Send for DeadLetter
impl Sync for DeadLetter
impl Unpin for DeadLetter
impl UnsafeUnpin for DeadLetter
impl UnwindSafe for DeadLetter
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