pub trait PathAddressedStorageProvider<S>where
S: Storage,{
// Required method
fn obtain_storage<'life0, 'async_trait, P>(
&'life0 self,
path: P
) -> Pin<Box<dyn Future<Output = Result<S, S::Error>> + 'async_trait>>
where P: AsRef<Path> + 'async_trait,
Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
fn obtain_storage<'life0, 'async_trait, P>( &'life0 self, path: P ) -> Pin<Box<dyn Future<Output = Result<S, S::Error>> + 'async_trait>>
Object Safety§
This trait is not object safe.