Enum postgres_shared::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 Clone for Host[src]
fn clone(&self) -> Host
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more