Struct rbdc_sqlite::driver::SqliteDriver
source · pub struct SqliteDriver {}Trait Implementations§
source§impl Debug for SqliteDriver
impl Debug for SqliteDriver
source§impl Driver for SqliteDriver
impl Driver for SqliteDriver
fn name(&self) -> &str
source§fn connect(
&self,
url: &str
) -> BoxFuture<'_, Result<Box<dyn Connection>, Error>>
fn connect( &self, url: &str ) -> BoxFuture<'_, Result<Box<dyn Connection>, Error>>
Create a connection to the database. Note that connections are intended to be used
in a single thread since most database connections are not thread-safe
fn connect_opt<'a>( &'a self, opt: &'a dyn ConnectOptions ) -> BoxFuture<'_, Result<Box<dyn Connection>, Error>>
source§fn default_option(&self) -> Box<dyn ConnectOptions>
fn default_option(&self) -> Box<dyn ConnectOptions>
make an default option
source§impl Placeholder for SqliteDriver
impl Placeholder for SqliteDriver
Auto Trait Implementations§
impl RefUnwindSafe for SqliteDriver
impl Send for SqliteDriver
impl Sync for SqliteDriver
impl Unpin for SqliteDriver
impl UnwindSafe for SqliteDriver
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