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<'a, 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 Freeze for SqliteDriver
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more