pub trait WebResourceManager: Send + Sync {
// Required methods
fn register_provider<'life0, 'async_trait>(
&'life0 self,
web_resource_provider: Arc<dyn WebResourceProvider>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn unregister_provider<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn register_provider<'life0, 'async_trait>(
&'life0 self,
web_resource_provider: Arc<dyn WebResourceProvider>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_provider<'life0, 'async_trait>(
&'life0 self,
web_resource_provider: Arc<dyn WebResourceProvider>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Registers a web resource provider.