pub async fn connect( url: &str, max_connections: u32, ) -> Result<Pool<Postgres>, PgmqError>
Connect to the database