pub trait Provider {
// Required methods
fn name(&self) -> &str;
fn capabilities(&self) -> &ProviderCapabilities;
fn namespaces<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = HashMap<String, DynNamespace>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_namespace<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DynNamespace, ProviderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_namespace_with_base_dir<'life0, 'life1, 'async_trait>(
&'life0 self,
base_dir: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<DynNamespace, ProviderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}