Trait c3p0::C3p0Pool[][src]

pub trait C3p0Pool: Clone + Send + Sync {
    type Conn;
    fn transaction<'life0, 'async_trait, T, E, F, Fut>(
        &'life0 self,
        tx: F
    ) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        T: Send + 'async_trait,
        E: Send + From<C3p0Error> + 'async_trait,
        F: Send + FnOnce(Self::Conn) -> Fut + 'async_trait,
        Fut: Send + Future<Output = Result<T, E>> + 'async_trait,
        Self: 'async_trait
; }

Associated Types

Required methods

Implementors