Struct r2d2_mysql::pool::MysqlConnectionManager [] [src]

pub struct MysqlConnectionManager {
    // some fields omitted
}

Methods

impl MysqlConnectionManager

fn new(params: &str) -> Result<MysqlConnectionManager, Error>

Creates a new MysqlConnectionManager.

See postgres::Connection::connect for a description of the parameter types.

Trait Implementations

impl ManageConnection for MysqlConnectionManager

type Connection = Conn

type Error = Error

fn connect(&self) -> Result<Conn, Error>

fn is_valid(&self, conn: &mut Conn) -> Result<(), Error>

fn has_broken(&self, conn: &mut Conn) -> bool

Derived Implementations

impl Debug for MysqlConnectionManager

fn fmt(&self, __arg_0: &mut Formatter) -> Result