Skip to main content

Body

Type Alias Body 

Source
pub type Body = RequestBody;
Expand description

The default request body: the schema pipeline over hyper’s transport body.

Aliased Type§

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

Trait Implementations§

Source§

impl From<Incoming> for Body

The transport body enters unerased, in the Hyper state.

Other compatible HTTP bodies can be wrapped with RequestBody::new.

Source§

fn from(body: Incoming) -> Self

Converts to this type from the input type.