pub trait ResourceCtrl: Sync + Send {
// Provided methods
fn init<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn handle_request<'life0, 'async_trait>(
&'life0 self,
request: Request,
) -> Pin<Box<dyn Future<Output = ResponseCore> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}