pub struct ExecExemplar<'a> {
pub op_name: &'a str,
pub cycle: u64,
pub attempt_no: u32,
pub tries_budget: u32,
pub error_class: &'a str,
pub message: &'a str,
pub will_retry: bool,
pub squelched_since_last: u64,
}Expand description
One sampled error specimen from an execution wrapper.
Fields§
§op_name: &'a strOp template name the error occurred under.
cycle: u64Cycle whose attempt produced the error.
attempt_no: u321-based attempt number that failed.
tries_budget: u32The op’s total-attempts budget.
error_class: &'a strAdapter error class (error_name).
message: &'a strFull adapter error message.
will_retry: boolTrue when the failed attempt will be retried (the class of error that is otherwise invisible outside counters).
squelched_since_last: u64Admissions squelched by the frequency ceiling since the last emitted exemplar — carried on this line so the squelch is visible, never silent.
Auto Trait Implementations§
impl<'a> Freeze for ExecExemplar<'a>
impl<'a> RefUnwindSafe for ExecExemplar<'a>
impl<'a> Send for ExecExemplar<'a>
impl<'a> Sync for ExecExemplar<'a>
impl<'a> Unpin for ExecExemplar<'a>
impl<'a> UnsafeUnpin for ExecExemplar<'a>
impl<'a> UnwindSafe for ExecExemplar<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more