Crate http_body_util
source ·Expand description
Utilities for http_body::Body
.
BodyExt
adds extensions to the common trait.
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