Struct postgres::Error [] [src]

pub struct Error(_);

An error communicating with the Postgres server.

Methods

impl Error
[src]

Returns the SQLSTATE error code associated with this error if it is a DB error.

Returns the inner error if this is a connection parameter error.

Returns the DbError associated with this error if it is a DB error.

Returns the inner error if this is a conversion error.

Returns the inner io::Error associated with this error if it is an IO error.

Trait Implementations

impl Display for Error
[src]

impl From<Error> for Error
[src]

Performs the conversion.

impl Error for Error
[src]

A short description of the error. Read more

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

impl Debug for Error
[src]

Formats the value using the given formatter.