pub struct MemoryDlqHandler { /* private fields */ }Expand description
In-memory DLQ handler for development and testing
Stores dead-lettered events in a Vec with configurable max capacity.
Implementations§
Trait Implementations§
Source§impl Default for MemoryDlqHandler
impl Default for MemoryDlqHandler
Source§impl DlqHandler for MemoryDlqHandler
impl DlqHandler for MemoryDlqHandler
Source§fn handle<'life0, 'async_trait>(
&'life0 self,
event: DeadLetterEvent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle<'life0, 'async_trait>(
&'life0 self,
event: DeadLetterEvent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle a dead-lettered event Read more
Auto Trait Implementations§
impl Freeze for MemoryDlqHandler
impl !RefUnwindSafe for MemoryDlqHandler
impl Send for MemoryDlqHandler
impl Sync for MemoryDlqHandler
impl Unpin for MemoryDlqHandler
impl UnsafeUnpin for MemoryDlqHandler
impl !UnwindSafe for MemoryDlqHandler
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