#[non_exhaustive]pub struct DeadLetter {
pub stage: Stage,
pub error: String,
pub raw: Vec<u8>,
}Expand description
A record that could not become an event.
The raw bytes are kept exactly, so the record can be processed again once the source definition is fixed. Nothing a source sends is dropped.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stage: StageThe stage that failed.
error: StringWhy.
raw: Vec<u8>The record as received; for a stream that could not be framed, the rest of the stream.
Trait Implementations§
Source§impl Clone for DeadLetter
impl Clone for DeadLetter
Source§impl Debug for DeadLetter
impl Debug for DeadLetter
Source§impl<'de> Deserialize<'de> for DeadLetter
impl<'de> Deserialize<'de> for DeadLetter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DeadLetter
Source§impl PartialEq for DeadLetter
impl PartialEq for DeadLetter
Source§impl Serialize for DeadLetter
impl Serialize 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