pub trait HttpServiceFactory: Sync {
// Required methods
fn register(&self) -> Resource;
fn analyze_types(&self, url: UrlPatternMatchInput) -> bool;
fn handler_func<'life0, 'async_trait>(
&'life0 self,
url: UrlPatternMatchInput,
req: Request,
) -> Pin<Box<dyn Future<Output = Responder> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}