pub struct UpstreamDiagnostics {
pub upstream_status: Option<u16>,
pub upstream_content_type: Option<String>,
pub stream_chunks_parsed: usize,
}Expand description
Upstream observations for diagnostics + bypass decisions.
Fields§
§upstream_status: Option<u16>Status code captured in response_filter.
upstream_content_type: Option<String>content-type captured in response_filter.
stream_chunks_parsed: usizeCount of valid upstream stream chunks parsed (drives “skip response.completed” bypass when zero).
Trait Implementations§
Source§impl Debug for UpstreamDiagnostics
impl Debug for UpstreamDiagnostics
Source§impl Default for UpstreamDiagnostics
impl Default for UpstreamDiagnostics
Source§fn default() -> UpstreamDiagnostics
fn default() -> UpstreamDiagnostics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpstreamDiagnostics
impl RefUnwindSafe for UpstreamDiagnostics
impl Send for UpstreamDiagnostics
impl Sync for UpstreamDiagnostics
impl Unpin for UpstreamDiagnostics
impl UnsafeUnpin for UpstreamDiagnostics
impl UnwindSafe for UpstreamDiagnostics
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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