We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cea1578 commit 873a006Copy full SHA for 873a006
1 file changed
src/lib.rs
@@ -155,7 +155,7 @@ pub type Result<T> = result::Result<T, PostgresError>;
155
156
/// Specifies the target server to connect to.
157
#[deriving(Clone)]
158
-pub enum PostgresConnectTarget {
+pub enum ConnectTarget {
159
/// Connect via TCP to the specified host.
160
TargetTcp(String),
161
/// Connect via a Unix domain socket in the specified directory.
@@ -175,7 +175,7 @@ pub struct PostgresUserInfo {
175
176
pub struct PostgresConnectParams {
177
/// The target server
178
- pub target: PostgresConnectTarget,
+ pub target: ConnectTarget,
179
/// The target port.
180
///
181
/// Defaults to 5432 if not specified.
0 commit comments