logo
Expand description

Traits and structures to aid consuming and writing HTTP payloads.

Structs

Streaming response wrapper.

A boxed message body with boxed errors.

Body type for responses that forbid payloads.

Known sized streaming response wrapper.

Enums

Body size hint.

Traits

An interface types that can converted to bytes and used as response bodies.

Functions

Collects the body produced by a MessageBody implementation into Bytes.