Skip to main content

BodyError

Type Alias BodyError 

Source
pub type BodyError = Box<dyn Error + Send + Sync>;
Expand description

The error type the upstream body may surface. A buffered body never errors (Infallible); a streamed verbatim-forward body surfaces the downstream read error here. Boxed so both fit one client type.

Aliased Typeยง

pub struct BodyError(/* private fields */);