Trait eyros::Storage [−][src]
pub trait Storage<S>: Send + Sync + Unpin {
fn open<'life0, 'life1, 'async_trait>(
&'life0 mut self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<S, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn remove<'life0, 'life1, 'async_trait>(
&'life0 mut self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Expand description
Return random access storage adaptors for files by a string name