pub enum RequestBodyStatus {
Continue,
StopIterationAndBuffer,
}Expand description
The status of the processing after the HttpFilterInstance::response_headers is called.
Variants§
Continue
Should be returned when the operation should continue.
StopIterationAndBuffer
This indicates that Envoy shouldn’t continue from processing the body frame and should stop iteration, but continue buffering the body until the limit is reached. When the limit is reached, Envoy will stop buffering and returns 500 to the client.
This stops sending body data to the upstream, so if the module wants to continue sending body
data, it should call EnvoyFilterInstance::continue_request or return continue status in the
subsequent HttpFilterInstance::request_body calls.
Trait Implementations§
Source§impl From<RequestBodyStatus> for usize
impl From<RequestBodyStatus> for usize
Source§fn from(val: RequestBodyStatus) -> Self
fn from(val: RequestBodyStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RequestBodyStatus
impl RefUnwindSafe for RequestBodyStatus
impl Send for RequestBodyStatus
impl Sync for RequestBodyStatus
impl Unpin for RequestBodyStatus
impl UnwindSafe for RequestBodyStatus
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