#[non_exhaustive]pub struct RouteErrorSummary {
pub kind: RouteErrorKind,
pub phase: RouteErrorPhase,
pub upstream_status: Option<u16>,
pub target: Option<ModelId>,
}Expand description
Safe, structured terminal-failure data for routing telemetry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: RouteErrorKindStable failure classification.
phase: RouteErrorPhaseWhether the error preceded response delivery or occurred while streaming.
upstream_status: Option<u16>Upstream HTTP status, when directly available.
target: Option<ModelId>Selected target that failed, when the runner knows it.
Trait Implementations§
Source§impl Clone for RouteErrorSummary
impl Clone for RouteErrorSummary
Auto Trait Implementations§
impl Forget for RouteErrorSummary
impl Freeze for RouteErrorSummary
impl Move for RouteErrorSummary
impl RefUnwindSafe for RouteErrorSummary
impl Send for RouteErrorSummary
impl Sync for RouteErrorSummary
impl Unpin for RouteErrorSummary
impl UnsafeUnpin for RouteErrorSummary
impl UnwindSafe for RouteErrorSummary
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