Trait gluesql::store::StoreMut [−][src]
pub trait StoreMut<T: Debug> where
Self: Sized, { #[must_use] fn insert_schema<'life0, 'async_trait>(
self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn delete_schema<'life0, 'async_trait>(
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn insert_data<'life0, 'async_trait>(
self,
table_name: &'life0 str,
rows: Vec<Row>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn update_data<'async_trait>(
self,
rows: Vec<(T, Row)>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>>
where
Self: 'async_trait; #[must_use] fn delete_data<'async_trait>(
self,
keys: Vec<T>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>>
where
Self: 'async_trait; }
StoreMut
takes role of mutation, related to INSERT
, CREATE
, DELETE
, DROP
and
UPDATE
.
Required methods
#[must_use]fn insert_schema<'life0, 'async_trait>(
self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn insert_schema<'life0, 'async_trait>(self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn delete_schema<'life0, 'async_trait>(
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn delete_schema<'life0, 'async_trait>(self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn insert_data<'life0, 'async_trait>(
self,
table_name: &'life0 str,
rows: Vec<Row>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn insert_data<'life0, 'async_trait>(self,
table_name: &'life0 str,
rows: Vec<Row>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn update_data<'async_trait>(
self,
rows: Vec<(T, Row)>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
Self: 'async_trait,
[src]
#[must_use]
fn update_data<'async_trait>(self,
rows: Vec<(T, Row)>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn delete_data<'async_trait>(
self,
keys: Vec<T>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
Self: 'async_trait,
[src]
#[must_use]
fn delete_data<'async_trait>(self,
keys: Vec<T>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
Self: 'async_trait,
Implementors
impl StoreMut<IVec> for SledStorage
[src]
impl StoreMut<IVec> for SledStorage
[src]fn insert_schema<'life0, 'async_trait>(
self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_schema<'life0, 'async_trait>(
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn insert_data<'life0, 'async_trait>(
self,
table_name: &'life0 str,
rows: Vec<Row>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
table_name: &'life0 str,
rows: Vec<Row>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_data<'async_trait>(
self,
rows: Vec<(IVec, Row)>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
Self: 'async_trait,
[src]
self,
rows: Vec<(IVec, Row)>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
Self: 'async_trait,
fn delete_data<'async_trait>(
self,
keys: Vec<IVec>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
Self: 'async_trait,
[src]
self,
keys: Vec<IVec>
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
Self: 'async_trait,