pub struct ErrorRecord {
pub attempt: u32,
pub error: String,
pub occurred_at: DateTime<Utc>,
pub error_type: ErrorType,
pub context: Option<String>,
}Expand description
Record of an error that occurred during message processing
Fields§
§attempt: u32Which attempt this error occurred on
error: StringError message
occurred_at: DateTime<Utc>When the error occurred
error_type: ErrorTypeError category for classification
context: Option<String>Additional context about the error
Trait Implementations§
Source§impl Clone for ErrorRecord
impl Clone for ErrorRecord
Source§fn clone(&self) -> ErrorRecord
fn clone(&self) -> ErrorRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 ErrorRecord
impl Debug for ErrorRecord
Source§impl<'de> Deserialize<'de> for ErrorRecord
impl<'de> Deserialize<'de> for ErrorRecord
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
Auto Trait Implementations§
impl Freeze for ErrorRecord
impl RefUnwindSafe for ErrorRecord
impl Send for ErrorRecord
impl Sync for ErrorRecord
impl Unpin for ErrorRecord
impl UnwindSafe for ErrorRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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