Function client

Source
pub async fn client(host: &str, port: u16) -> Result<Client>
Expand description

Create and return a new PostgreSQL client, spawning off the connection object along the way.