Trait db_core::ops::GetConnection[][src]

pub trait GetConnection {
    type Conn;
    fn get_conn<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = DBResult<Self::Conn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Get database connection

Associated Types

database connection type

Required methods

database specific error-type get connection from connection pool

Implementors