[−][src]Trait tide::forms::ExtractForms
An extension trait for Context
, providing form extraction.
Required methods
fn body_form<T: DeserializeOwned>(
&mut self
) -> Pin<Box<dyn Future<Output = EndpointResult<T>> + Send + 'static>>
&mut self
) -> Pin<Box<dyn Future<Output = EndpointResult<T>> + Send + 'static>>
Asynchronously extract the entire body as a single form.
fn body_multipart(
&mut self
) -> Pin<Box<dyn Future<Output = EndpointResult<Multipart<Cursor<Vec<u8>>>>> + Send + 'static>>
&mut self
) -> Pin<Box<dyn Future<Output = EndpointResult<Multipart<Cursor<Vec<u8>>>>> + Send + 'static>>
Asynchronously extract the entire body as a multipart form.
Implementors
impl<AppData: Send + Sync + 'static> ExtractForms for Context<AppData>
[src]
fn body_form<T: DeserializeOwned>(
&mut self
) -> Pin<Box<dyn Future<Output = EndpointResult<T>> + Send + 'static>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = EndpointResult<T>> + Send + 'static>>
fn body_multipart(
&mut self
) -> Pin<Box<dyn Future<Output = EndpointResult<Multipart<Cursor<Vec<u8>>>>> + Send + 'static>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = EndpointResult<Multipart<Cursor<Vec<u8>>>>> + Send + 'static>>