Enum postgres_shared::params::Host [−][src]
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]
impl Clone for Hostfn clone(&self) -> Host[src]
fn clone(&self) -> HostReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Host[src]
impl Debug for Hostfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Host[src]
impl PartialEq for Hostfn eq(&self, other: &Host) -> bool[src]
fn eq(&self, other: &Host) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Host) -> bool[src]
fn ne(&self, other: &Host) -> boolThis method tests for !=.
impl Eq for Host[src]
impl Eq for Hostimpl Hash for Host[src]
impl Hash for Host