pub trait DataStore: Send + Sync {
    // Required methods
    fn entities<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Entities> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_entities<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Entities> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_entities<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_entities<'life0, 'async_trait>(
        &'life0 self,
        entities: Entities
    ) -> Pin<Box<dyn Future<Output = Result<Entities, Box<dyn Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn entities<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Entities> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_entities<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Entities> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_entities<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn update_entities<'life0, 'async_trait>( &'life0 self, entities: Entities ) -> Pin<Box<dyn Future<Output = Result<Entities, Box<dyn Error>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§