[][src]Trait eyros::Storage

pub trait Storage<S> {
#[must_use]    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
; }

Return random access storage adaptors for files by a string name

Required methods

#[must_use]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, 

Loading content...

Implementors

Loading content...