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
impl<E> HandleError<E> for NopErrorHandlerimpl<E> HandleError<E> for LoggingErrorHandler where E: Error