Enum diesel::r2d2::Error [] [src]

pub enum Error {
    ConnectionError(ConnectionError),
    QueryError(Error),
}

The error used when managing connections with r2d2.

Variants

An error occurred establishing the connection

An error occurred pinging the database

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

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

1.0.0
[src]

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error