pub trait DBMut {
fn insert_schema<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_schema: &'life1 Schema
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
fn insert_data<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_table_name: &'life1 str,
_rows: Vec<Row>
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
fn update_data<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_table_name: &'life1 str,
_rows: Vec<(Value, Row)>
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
fn delete_data<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_table_name: &'life1 str,
_keys: Vec<Value>
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
fn update_index<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_index_name: &'life1 str,
_table_name: &'life2 str,
_keys: Vec<(Value, Value)>
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
{ ... }
fn alter_table<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_table_name: &'life1 str,
_schema_diff: SchemaDiff
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
}
Expand description
StoreMut
-> INSERT
, CREATE
, DELETE
, DROP
, UPDATE