Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
http_body_util - Rust
[go: Go Back, main page]

Expand description

Utilities for http_body::Body.

BodyExt adds extensions to the common trait.

Empty and Full provide simple implementations.

Modules

Combinators for the Body trait.

Structs

A collected body produced by [BodyExt::collect] which collects all the DATA frames and trailers.
A body that is always empty.
A body that consists of a single chunk.
An error returned when body length exceeds the configured limit.
A length limited body.
A body created from a Stream.

Enums

Sum type with two cases: Left and Right, used if a body can be one of two distinct types.

Traits

An extension trait for http_body::Body adding various combinators and adapters