pub trait View: Send + Sync {
// Required methods
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
req: &'life1 mut HttpRequest,
ctx: &'life2 mut Context,
) -> Pin<Box<dyn Future<Output = Result<HttpResonse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn methods(&self) -> Vec<Method>;
fn re_path(&self) -> Regex;
}