pub struct ResponseFlags {Show 28 fields
pub failed_local_healthcheck: bool,
pub no_healthy_upstream: bool,
pub upstream_request_timeout: bool,
pub local_reset: bool,
pub upstream_remote_reset: bool,
pub upstream_connection_failure: bool,
pub upstream_connection_termination: bool,
pub upstream_overflow: bool,
pub no_route_found: bool,
pub delay_injected: bool,
pub fault_injected: bool,
pub rate_limited: bool,
pub unauthorized_details: Option<Unauthorized>,
pub rate_limit_service_error: bool,
pub downstream_connection_termination: bool,
pub upstream_retry_limit_exceeded: bool,
pub stream_idle_timeout: bool,
pub invalid_envoy_request_headers: bool,
pub downstream_protocol_error: bool,
pub upstream_max_stream_duration_reached: bool,
pub response_from_cache_filter: bool,
pub no_filter_config_found: bool,
pub duration_timeout: bool,
pub upstream_protocol_error: bool,
pub no_cluster_found: bool,
pub overload_manager: bool,
pub dns_resolution_failure: bool,
pub downstream_remote_reset: bool,
}Expand description
Flags indicating occurrences during request/response processing. [#next-free-field: 29]
Fields§
§failed_local_healthcheck: boolIndicates local server healthcheck failed.
no_healthy_upstream: boolIndicates there was no healthy upstream.
upstream_request_timeout: boolIndicates an there was an upstream request timeout.
local_reset: boolIndicates local codec level reset was sent on the stream.
upstream_remote_reset: boolIndicates remote codec level reset was received on the stream.
upstream_connection_failure: boolIndicates there was a local reset by a connection pool due to an initial connection failure.
upstream_connection_termination: boolIndicates the stream was reset due to an upstream connection termination.
upstream_overflow: boolIndicates the stream was reset because of a resource overflow.
no_route_found: boolIndicates no route was found for the request.
delay_injected: boolIndicates that the request was delayed before proxying.
fault_injected: boolIndicates that the request was aborted with an injected error code.
rate_limited: boolIndicates that the request was rate-limited locally.
Indicates if the request was deemed unauthorized and the reason for it.
rate_limit_service_error: boolIndicates that the request was rejected because there was an error in rate limit service.
downstream_connection_termination: boolIndicates the stream was reset due to a downstream connection termination.
upstream_retry_limit_exceeded: boolIndicates that the upstream retry limit was exceeded, resulting in a downstream error.
stream_idle_timeout: boolIndicates that the stream idle timeout was hit, resulting in a downstream 408.
invalid_envoy_request_headers: boolIndicates that the request was rejected because an envoy request header failed strict validation.
downstream_protocol_error: boolIndicates there was an HTTP protocol error on the downstream request.
upstream_max_stream_duration_reached: boolIndicates there was a max stream duration reached on the upstream request.
response_from_cache_filter: boolIndicates the response was served from a cache filter.
no_filter_config_found: boolIndicates that a filter configuration is not available.
duration_timeout: boolIndicates that request or connection exceeded the downstream connection duration.
upstream_protocol_error: boolIndicates there was an HTTP protocol error in the upstream response.
no_cluster_found: boolIndicates no cluster was found for the request.
overload_manager: boolIndicates overload manager terminated the request.
dns_resolution_failure: boolIndicates a DNS resolution failed.
downstream_remote_reset: boolIndicates a downstream remote codec level reset was received on the stream
Trait Implementations§
Source§impl Clone for ResponseFlags
impl Clone for ResponseFlags
Source§fn clone(&self) -> ResponseFlags
fn clone(&self) -> ResponseFlags
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ResponseFlags
Source§impl Debug for ResponseFlags
impl Debug for ResponseFlags
Source§impl Default for ResponseFlags
impl Default for ResponseFlags
Source§impl Message for ResponseFlags
impl Message for ResponseFlags
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for ResponseFlags
impl Name for ResponseFlags
Source§const NAME: &'static str = "ResponseFlags"
const NAME: &'static str = "ResponseFlags"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "envoy.data.accesslog.v3"
const PACKAGE: &'static str = "envoy.data.accesslog.v3"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.Source§impl PartialEq for ResponseFlags
impl PartialEq for ResponseFlags
Source§fn eq(&self, other: &ResponseFlags) -> bool
fn eq(&self, other: &ResponseFlags) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResponseFlags
Auto Trait Implementations§
impl Freeze for ResponseFlags
impl RefUnwindSafe for ResponseFlags
impl Send for ResponseFlags
impl Sync for ResponseFlags
impl Unpin for ResponseFlags
impl UnsafeUnpin for ResponseFlags
impl UnwindSafe for ResponseFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request