pub trait Service: Send + Sync {
// Required method
fn api_handler<'a, 'life0, 'life1, 'life2, 'async_trait>(
&'a self,
body: Body,
route: &'life0 HttpRoute<'a>,
path: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = Result<Response<Body>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}