Trait darpi::request::FromRequestBodyWithContainer [−][src]
Required methods
#[must_use]pub fn extract<'life0, 'async_trait>(
headers: &'life0 HeaderMap<HeaderValue>,
b: Body,
__arg2: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<T, E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
[src]
headers: &'life0 HeaderMap<HeaderValue>,
b: Body,
__arg2: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<T, E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Provided methods
#[must_use]pub fn assert_content_type<'life0, 'async_trait>(
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
[src]
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Implementors
impl<F, T, E, C> FromRequestBodyWithContainer<T, E, C> for F where
C: Any + Sync + Send,
T: DeserializeOwned + 'static,
E: ResponderError + 'static,
F: FromRequestBody<T, E> + 'static,
[src]
C: Any + Sync + Send,
T: DeserializeOwned + 'static,
E: ResponderError + 'static,
F: FromRequestBody<T, E> + 'static,
pub fn assert_content_type<'life0, 'async_trait>(
content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
[src]
content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
pub fn extract<'life0, 'async_trait>(
headers: &'life0 HeaderMap<HeaderValue>,
b: Body,
__arg2: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<T, E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
[src]
headers: &'life0 HeaderMap<HeaderValue>,
b: Body,
__arg2: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<T, E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,