pub struct AttemptFailure {
pub code: FailureClass,
pub resource: MemoryResource,
pub phase: String,
pub frame: Option<u64>,
pub retry_after_ms: Option<u64>,
}Expand description
A classified export failure, as the retry policy reads it.
Fields§
§code: FailureClassIts class.
resource: MemoryResourceThe memory its evidence names.
phase: StringThe phase it failed in (prepare, decode, render, encode, publish).
frame: Option<u64>The export frame it failed at, when known.
retry_after_ms: Option<u64>A wait the failure asks for before retrying, in milliseconds.
Trait Implementations§
Source§impl Clone for AttemptFailure
impl Clone for AttemptFailure
Source§impl Debug for AttemptFailure
impl Debug for AttemptFailure
impl Eq for AttemptFailure
Source§impl PartialEq for AttemptFailure
impl PartialEq for AttemptFailure
impl StructuralPartialEq for AttemptFailure
Auto Trait Implementations§
impl Forget for AttemptFailure
impl Freeze for AttemptFailure
impl Move for AttemptFailure
impl RefUnwindSafe for AttemptFailure
impl Send for AttemptFailurewhere
RawVecInner: Send,
impl Sync for AttemptFailurewhere
RawVecInner: Sync,
impl Unpin for AttemptFailure
impl UnsafeUnpin for AttemptFailure
impl UnwindSafe for AttemptFailurewhere
RawVecInner: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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