pub struct SharedMemoryStorage {
pub database: Arc<RwLock<MemoryStorage>>,
}Fields
database: Arc<RwLock<MemoryStorage>>Implementations
Trait Implementations
fn rename_schema<'life0, 'life1, 'async_trait>(
self,
table_name: &'life0 str,
new_table_name: &'life1 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn rename_column<'life0, 'life1, 'life2, 'async_trait>(
self,
table_name: &'life0 str,
old_column_name: &'life1 str,
new_column_name: &'life2 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn add_column<'life0, 'life1, 'async_trait>(
self,
table_name: &'life0 str,
column_def: &'life1 ColumnDef
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn drop_column<'life0, 'life1, 'async_trait>(
self,
table_name: &'life0 str,
column_name: &'life1 str,
if_exists: bool
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
sourcefn clone(&self) -> SharedMemoryStorage
fn clone(&self) -> SharedMemoryStorage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourcefn from(storage: MemoryStorage) -> Self
fn from(storage: MemoryStorage) -> Self
Converts to this type from the input type.