[−][src]Trait c3p0_pool_mysql::C3p0Pool
Associated Types
type CONN: Connection
Required methods
fn connection(&self) -> Result<Self::CONN, C3p0Error>
fn transaction<T, E, F>(&self, tx: F) -> Result<T, E> where
E: From<C3p0Error>,
F: FnOnce(&Self::CONN) -> Result<T, E>,
E: From<C3p0Error>,
F: FnOnce(&Self::CONN) -> Result<T, E>,
Implementors
impl C3p0Pool for C3p0PoolMysql
[src]
type CONN = MysqlConnection
fn connection(&self) -> Result<MysqlConnection, C3p0Error>
[src]
fn transaction<T, E: From<C3p0Error>, F: FnOnce(&MysqlConnection) -> Result<T, E>>(
&self,
tx: F
) -> Result<T, E>
[src]
&self,
tx: F
) -> Result<T, E>