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]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error