Crate product_os_http_body

Source

Modules§

combinators
Combinators for the Body trait.

Structs§

BodyBytes
Concrete implementation of (Body).
BodyDataStream
A data stream created from a Body.
BodyStream
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.
LengthLimitError
An error returned when body length exceeds the configured limit.
Limited
A length limited body.
SizeHint
A Body size hint
StreamBody
A body created from a Stream.

Enums§

BodyError
Either
Sum type with two cases: Left and Right, 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