pub struct SQLite3Interface { /* private fields */ }
Trait Implementations§
Source§impl DatabaseInterface for SQLite3Interface
impl DatabaseInterface for SQLite3Interface
fn connect(config: &HashMap<String, String>) -> (Self, bool)
fn table_from_types(&self, table_name: String, types: &HashMap<String, SQLType>)
fn delete_db(config: &HashMap<String, String>)
fn process_api_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: &'life1 mut Request<Body>,
table: &'life2 SqlTableSchema,
) -> Pin<Box<dyn Future<Output = Response<Body>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_tables_from_schemas(&self, schemas: Vec<&SqlTableSchema>)
impl Send for SQLite3Interface
impl Sync for SQLite3Interface
Auto Trait Implementations§
impl Freeze for SQLite3Interface
impl !RefUnwindSafe for SQLite3Interface
impl Unpin for SQLite3Interface
impl !UnwindSafe for SQLite3Interface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more