Trait db_sqlx_postgres::dev::prelude::GetConnection
[−]pub trait GetConnection {
type Conn;
fn get_conn<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Get database connection
Associated Types
type Conn
type Conn
database connection type