Peek at the oldest dead letter without removing it.
(&self)
| 162 | |
| 163 | /// Peek at the oldest dead letter without removing it. |
| 164 | pub fn peek(&self) -> Option<&DeadLetter> { |
| 165 | self.entries.front() |
| 166 | } |
| 167 | |
| 168 | /// Dequeue the oldest dead letter for retry or inspection. |
| 169 | pub fn dequeue(&mut self) -> Option<DeadLetter> { |