pub trait WebResourceProvider: Send + Sync {
// Required methods
fn id(&self) -> Uuid;
fn get_context_path(&self) -> String;
fn handle_web_resource<'life0, 'async_trait>(
&'life0 self,
path: String,
request: Request<HttpBody>,
) -> Pin<Box<dyn Future<Output = Result<Response<HttpBody>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}