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