Enum diesel::r2d2::Error [−][src]
pub enum Error {
ConnectionError(ConnectionError),
QueryError(Error),
}The error used when managing connections with r2d2.
Variants
ConnectionError(ConnectionError)An error occurred establishing the connection
QueryError(Error)An error occurred pinging the database
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for Error[src]
impl Error for Error