new_db_pool

Function new_db_pool 

Source
pub async fn new_db_pool(
    db_connect_url: &str,
    max_connections: u32,
) -> Result<Pool<Postgres>>