Struct rbdc_mysql::driver::MysqlDriver
source · pub struct MysqlDriver {}
Trait Implementations§
source§impl Debug for MysqlDriver
impl Debug for MysqlDriver
source§impl Driver for MysqlDriver
impl Driver for MysqlDriver
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 MysqlDriver
impl Placeholder for MysqlDriver
Auto Trait Implementations§
impl RefUnwindSafe for MysqlDriver
impl Send for MysqlDriver
impl Sync for MysqlDriver
impl Unpin for MysqlDriver
impl UnwindSafe for MysqlDriver
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