pub struct InferenceRetryProgress {
pub model: String,
pub attempt: u32,
pub reason: &'static str,
pub backoff_ms: u64,
}Expand description
Progress from a retry inside one inference request.
The observer surface deliberately carries a generic failure class rather than a provider response body: progress streams are operational metadata, not a second channel for arbitrary upstream content.
Fields§
§model: StringCanonical model id whose remote request is being retried.
attempt: u32The attempt about to start (the initial request is attempt 1).
reason: &'static strStable generic failure class such as http_status or transport.
backoff_ms: u64Delay before the named attempt starts.
Trait Implementations§
Source§impl Clone for InferenceRetryProgress
impl Clone for InferenceRetryProgress
Source§impl Debug for InferenceRetryProgress
impl Debug for InferenceRetryProgress
impl Eq for InferenceRetryProgress
Source§impl PartialEq for InferenceRetryProgress
impl PartialEq for InferenceRetryProgress
impl StructuralPartialEq for InferenceRetryProgress
Auto Trait Implementations§
impl Freeze for InferenceRetryProgress
impl RefUnwindSafe for InferenceRetryProgress
impl Send for InferenceRetryProgress
impl Sync for InferenceRetryProgress
impl Unpin for InferenceRetryProgress
impl UnsafeUnpin for InferenceRetryProgress
impl UnwindSafe for InferenceRetryProgress
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.impl<T> ErasedDestructor for Twhere
T: 'static,
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