pub trait FromRequest: Sized {
    fn from_request<'life0, 'async_trait>(
        req: &'life0 RequestObjectWithData
    ) -> Pin<Box<dyn Future<Output = Result<Self, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

A trait to extract data from the request

Required methods

Implementations on Foreign Types

Implementors