[−][src]Enum envoy_sdk::extension::filter::http::FilterDataStatus
Return codes for on_request_body
and on_response_body
filter
invocations.
Envoy
bases further filter invocations on the return code of the
previous filter.
Variants (Non-exhaustive)
Continue filter chain iteration.
If headers have not yet been sent to the next filter, they will be sent first. If data has previously been buffered, the data in this callback will be added to the buffer before the entirety is sent to the next filter.
Do not iterate to any of the remaining filters in the chain, and buffer body data for later dispatching.
To resume filter iteration at a later point, e.g. after enough data has been buffered
to make a decision, call resume_request
or resume_response
respectively.
This should be called by filters which must parse a larger block of the incoming data before continuing processing and so can not push back on streaming data via watermarks.
If buffering the request causes buffered data to exceed the configured buffer limit, a 413 will be sent to the user. On the response path exceeding buffer limits will result in a 500.
Trait Implementations
impl Clone for FilterDataStatus
[src]
fn clone(&self) -> FilterDataStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FilterDataStatus
[src]
impl Debug for FilterDataStatus
[src]
impl Eq for FilterDataStatus
[src]
impl Hash for FilterDataStatus
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<FilterDataStatus> for FilterDataStatus
[src]
fn eq(&self, other: &FilterDataStatus) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for FilterDataStatus
[src]
impl StructuralPartialEq for FilterDataStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for FilterDataStatus
impl Send for FilterDataStatus
impl Sync for FilterDataStatus
impl Unpin for FilterDataStatus
impl UnwindSafe for FilterDataStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,