Enum postgres::error::ConnectError
[−]
[src]
pub enum ConnectError {
ConnectParams(Box<Error + Sync + Send>),
Db(Box<DbError>),
Ssl(Box<Error + Sync + Send>),
Io(Error),
}Reasons a new Postgres connection could fail.
Variants
ConnectParams | An error relating to connection parameters. | |
Db | An error from the Postgres server itself. | |
Ssl | An error initializing the SSL session. | |
Io | An error communicating with the server. |