Skip to main content

RespBody

Type Alias RespBody 

Source
pub type RespBody = UnsyncBoxBody<Bytes, Error>;
Expand description

Response body produced by the HTTP host.

Deliberately the unsync box: a streamed body only ever needs to be Send, and requiring Sync would rule out readers that are not shared between threads (most streaming sources).

Aliased Typeยง

pub struct RespBody { /* private fields */ }