[][src]Enum envoy_sdk::extension::filter::http::FilterDataStatus

#[non_exhaustive]pub enum 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)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

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]

impl Copy for FilterDataStatus[src]

impl Debug for FilterDataStatus[src]

impl Eq for FilterDataStatus[src]

impl Hash for FilterDataStatus[src]

impl PartialEq<FilterDataStatus> for FilterDataStatus[src]

impl StructuralEq for FilterDataStatus[src]

impl StructuralPartialEq for FilterDataStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.