Struct rbdc_mysql::driver::MysqlDriver
source · [−]pub struct MysqlDriver {}
Trait Implementations
sourceimpl Debug for MysqlDriver
impl Debug for MysqlDriver
sourceimpl Driver for MysqlDriver
impl Driver for MysqlDriver
fn name(&self) -> &str
sourcefn 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 Read more
fn connect_opt<'a>(
&'a self,
opt: &'a dyn ConnectOptions
) -> BoxFuture<'_, Result<Box<dyn Connection>, Error>>
sourcefn default_option(&self) -> Box<dyn ConnectOptions>
fn default_option(&self) -> Box<dyn ConnectOptions>
make an default option
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more