[][src]Trait c3p0::C3p0PoolManager

pub trait C3p0PoolManager: Clone {
    type CONN: Connection;
    fn connection(&self) -> Result<Self::CONN, C3p0Error>;
fn transaction<T, F>(&self, tx: F) -> Result<T, C3p0Error>
    where
        F: FnOnce(&Self::CONN) -> Result<T, Box<dyn Error + 'static>>
; }

Associated Types

Loading content...

Required methods

fn connection(&self) -> Result<Self::CONN, C3p0Error>

fn transaction<T, F>(&self, tx: F) -> Result<T, C3p0Error> where
    F: FnOnce(&Self::CONN) -> Result<T, Box<dyn Error + 'static>>, 

Loading content...

Implementors

Loading content...