pub struct RetryRecordV2 {
pub version: u16,
pub cause: RetryCause,
pub attempts: u64,
}Expand description
Retry attempts recorded for one cause.
attempts counts every attempt, not every operation that was eventually
retried, so a path that retries a thousand times reads as a thousand.
Fields§
§version: u16§cause: RetryCause§attempts: u64Trait Implementations§
Source§impl Clone for RetryRecordV2
impl Clone for RetryRecordV2
Source§fn clone(&self) -> RetryRecordV2
fn clone(&self) -> RetryRecordV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RetryRecordV2
impl Debug for RetryRecordV2
Source§impl<'de> Deserialize<'de> for RetryRecordV2
impl<'de> Deserialize<'de> for RetryRecordV2
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 RetryRecordV2
Source§impl PartialEq for RetryRecordV2
impl PartialEq for RetryRecordV2
Source§impl Serialize for RetryRecordV2
impl Serialize for RetryRecordV2
impl StructuralPartialEq for RetryRecordV2
Auto Trait Implementations§
impl Freeze for RetryRecordV2
impl RefUnwindSafe for RetryRecordV2
impl Send for RetryRecordV2
impl Sync for RetryRecordV2
impl Unpin for RetryRecordV2
impl UnsafeUnpin for RetryRecordV2
impl UnwindSafe for RetryRecordV2
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