Struct postgres_shared::error::Error [] [src]

pub struct Error(_);
[]

An error communicating with the Postgres server.

Methods

impl Error
[src]

[src]
[]

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

[src]
[]

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

[src]
[]

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

[src]
[]

Returns the inner error if this is a conversion error.

[src]
[]

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

Trait Implementations

impl Debug for Error
[src]

[src]
[]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]
[]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]
[]

A short description of the error. Read more

[src]
[]

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

impl From<Error> for Error
[src]

[src]
[]

Performs the conversion.