Enum tokio_postgres::params::Host []

pub enum Host {
    Tcp(String),
    Unix(PathBuf),
}

The host.

Variants

A TCP hostname.

The path to a directory containing the server's Unix socket.

Trait Implementations

impl Debug for Host

Formats the value using the given formatter.

impl Clone for Host