Enum r2d2_postgres::Error [] [src]

pub enum Error {
    Connect(ConnectError),
    Other(Error),
}

A unified enum of errors returned by postgres::Connection

Variants

A postgres::error::ConnectError

An postgres::error::Error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more