Trait diesel::r2d2::HandleError[][src]

pub trait HandleError<E>: 'static + Debug + Send + Sync {
    pub fn handle_error(&self, error: E);
}

A trait which handles errors reported by the ManageConnection.

Required methods

pub fn handle_error(&self, error: E)[src]

Handles an error.

Loading content...

Implementors

impl<E> HandleError<E> for LoggingErrorHandler where
    E: Error
[src]

impl<E> HandleError<E> for NopErrorHandler[src]

Loading content...