Enum tokio_postgres::config::Host [−][src]
Expand description
A host specification.
Variants
Tcp(String)
A TCP hostname.
Tuple Fields of Tcp
0: String
Unix(PathBuf)
A path to a directory containing the server’s Unix socket.
This variant is only available on Unix platforms.
Tuple Fields of Unix
0: PathBuf
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Host
impl UnwindSafe for Host
Blanket Implementations
Mutably borrows from an owned value. Read more