Trait poem::web::FromRequest [−][src]
pub trait FromRequest<'a>: Sized { fn from_request<'life0, 'async_trait>(
req: &'a Request,
body: &'life0 mut Option<Body>
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
where
'a: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
Types that can be created from requests.