pub type Request<B = Body> = Request<B>;Aliased Type§
pub struct Request<B = Body> { /* private fields */ }Trait Implementations§
Source§impl<B> FromRequest<B> for Request<B>where
B: Send,
Available on crate feature server only.
impl<B> FromRequest<B> for Request<B>where
B: Send,
Available on crate feature
server only.Source§type Rejection = Infallible
type Rejection = Infallible
If the extractor fails, it will return this
Rejection type. Read moreSource§async fn from_request(
_cx: &mut ServerContext,
parts: Parts,
body: B,
) -> Result<Self, Self::Rejection>
async fn from_request( _cx: &mut ServerContext, parts: Parts, body: B, ) -> Result<Self, Self::Rejection>
Extract the type from request.