Modules§
- combinators
- Combinators for the
Body
trait.
Structs§
- Body
Bytes - Concrete implementation of (Body).
- Body
Data Stream - A data stream created from a
Body
. - Body
Stream - A stream created from a
Body
. - Bytes
- A cheaply cloneable and sliceable chunk of contiguous memory.
- Collected
- A collected body produced by
BodyExt::collect
which collects all the DATA frames and trailers. - Empty
- A body that is always empty.
- Frame
- A frame of any kind related to an HTTP stream (body).
- Full
- A body that consists of a single chunk.
- Length
Limit Error - An error returned when body length exceeds the configured limit.
- Limited
- A length limited body.
- Size
Hint - A
Body
size hint - Stream
Body - A body created from a
Stream
.
Enums§
- Body
Error - Either
- Sum type with two cases:
Left
andRight
, used if a body can be one of two distinct types.
Traits§
- Body
- Trait representing a streaming body of a Request or Response.
- BodyExt
- An extension trait for
http_body::Body
adding various combinators and adapters