pub trait StoreMut {
    // Provided methods
    fn insert_schema<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        _schema: &'life1 Schema
    ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn delete_schema<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        _table_name: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn append_data<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        _table_name: &'life1 str,
        _rows: Vec<DataRow>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn insert_data<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        _table_name: &'life1 str,
        _rows: Vec<(Key, DataRow)>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn delete_data<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        _table_name: &'life1 str,
        _keys: Vec<Key>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}
Expand description

By implementing StoreMut trait, you can run INSERT, CREATE TABLE, DELETE, UPDATE and DROP TABLE queries.

Provided Methods§

source

fn insert_schema<'life0, 'life1, 'async_trait>( &'life0 mut self, _schema: &'life1 Schema ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn delete_schema<'life0, 'life1, 'async_trait>( &'life0 mut self, _table_name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn append_data<'life0, 'life1, 'async_trait>( &'life0 mut self, _table_name: &'life1 str, _rows: Vec<DataRow> ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn insert_data<'life0, 'life1, 'async_trait>( &'life0 mut self, _table_name: &'life1 str, _rows: Vec<(Key, DataRow)> ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn delete_data<'life0, 'life1, 'async_trait>( &'life0 mut self, _table_name: &'life1 str, _keys: Vec<Key> ) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§