Modules§
- combinators
- Combinators for the
Bodytrait.
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::collectwhich 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
Bodysize hint - Stream
Body - A body created from a
Stream.
Enums§
- Body
Error - Either
- Sum type with two cases:
LeftandRight, 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::Bodyadding various combinators and adapters