Enum tokio_postgres::params::Host
[−]
[src]
pub enum Host {
Tcp(String),
Unix(PathBuf),
}The host.
Variants
Tcp(String)A TCP hostname.
Unix(PathBuf)The path to a directory containing the server's Unix socket.
Trait Implementations
impl Debug for Host[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.