[−][src]Trait c3p0_pool_sqlite::C3p0Pool
Associated Types
type CONN: Connection
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>>,
F: FnOnce(&Self::CONN) -> Result<T, Box<dyn Error + 'static>>,
Implementors
impl C3p0Pool for C3p0PoolSqlite
[src]
type CONN = SqliteConnection
fn connection(&self) -> Result<SqliteConnection, C3p0Error>
[src]
fn transaction<T, F: FnOnce(&SqliteConnection) -> Result<T, Box<dyn Error>>>(
&self,
tx: F
) -> Result<T, C3p0Error>
[src]
&self,
tx: F
) -> Result<T, C3p0Error>