pub async fn acquire(&self) -> crate::Result<PoolConnection<C>> {
        self.0.acquire().await.map(|conn| PoolConnection {
            live: Some(conn),
            pool: Arc::clone(&self.0),
        })
    }
/// Retrieves a connection from the pool.
///
/// Waits for at most the configured connection timeout before returning an error.
Retrieves a connection from the pool.
Waits for at most the configured connection timeout before returning an error.
Retrieves a connection from the pool . Waits for at most the configured connection timeout before returning an error .
pub async fn acquire(&self) -> crate::Result<PoolConnection<C>> {
        self.0.acquire().await.map(|conn| PoolConnection {
            live: Some(conn),
            pool: Arc::clone(&self.0),
        })
    }
pub async fn acquire ( & self ) -> crate :: Result < PoolConnection < C > > { self . 0 . acquire ( ) . await . map ( | conn | PoolConnection { live : Some ( conn ) , pool : Arc :: clone ( & self . 0 ) , } ) }
Retrieves a connection from the pool.
Retrieves a connection from the pool .
&self
&self