pub trait ToEmpty<B: BaseRequest>: Form {
// Provided methods
fn on_get<'life0, 'async_trait>(
_req: &'life0 B
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
where Self: Sized + Send + 'async_trait,
'life0: 'async_trait { ... }
fn on_post<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_data: <Self as Form>::Data,
_req: &'life1 B
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where <Self as Form>::Data: Send + Sync,
Self: Send + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}