pub struct ErrorHistoryEntry {
pub error: String,
pub attempt: usize,
pub timestamp: DateTime<Utc>,
}Expand description
Error history entry for tracking errors across retries
Fields§
§error: StringError message
attempt: usizeAttempt number (1-indexed)
timestamp: DateTime<Utc>Timestamp of error
Trait Implementations§
Source§impl Clone for ErrorHistoryEntry
impl Clone for ErrorHistoryEntry
Source§fn clone(&self) -> ErrorHistoryEntry
fn clone(&self) -> ErrorHistoryEntry
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 moreAuto Trait Implementations§
impl Freeze for ErrorHistoryEntry
impl RefUnwindSafe for ErrorHistoryEntry
impl Send for ErrorHistoryEntry
impl Sync for ErrorHistoryEntry
impl Unpin for ErrorHistoryEntry
impl UnwindSafe for ErrorHistoryEntry
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