pub trait HttpContext<Phase>: Send + Sync where
Phase: Copy + Send + Sync + 'static, {
fn http_host<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<String, AnyError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn patch_http_headers<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_phase: Phase,
_headers: &'life1 mut HttpHeaders
) -> Pin<Box<dyn Future<Output = Result<(), AnyError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
}