[][src]Trait r2d2::HandleError

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

A trait which handles errors reported by the ManageConnection.

Required methods

fn handle_error(&self, error: E)

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...