pub trait Storage {
fn get<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
crate_name: &'life1 str,
crate_version: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, StorageError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
fn put<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
crate_name: &'life1 str,
crate_version: &'life2 str,
data: &'life3 [u8]
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait;
}