Trait r2d2::HandleError [] [src]

pub trait HandleError<E>: 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.

Implementors