Enum postgres::error::ConnectError
[−]
[src]
pub enum ConnectError {
BadConnectParams(Box<Error + Sync + Send>),
MissingUser,
DbError(Box<DbError>),
MissingPassword,
UnsupportedAuthentication,
NoSslSupport,
SslError(Box<Error + Sync + Send>),
IoError(Error),
}Reasons a new Postgres connection could fail.
Variants
BadConnectParams | An error creating |
MissingUser | The |
DbError | An error from the Postgres server itself. |
MissingPassword | A password was required but not provided in the |
UnsupportedAuthentication | The Postgres server requested an authentication method not supported by the driver. |
NoSslSupport | The Postgres server does not support SSL encryption. |
SslError | An error initializing the SSL session. |
IoError | An error communicating with the server. |