pub fn connect(conn: &str) -> Result<Client, Error>Expand description
Connects to Postgres from a URL or keyword/value string, the way libpq and pgx do.
ยงErrors
The connection string does not parse, or every host fails to connect, authenticate or meet the TLS mode. The message lists each attempt.