Trait r2d2::HandleError
source · [−]pub trait HandleError<E>: Debug + Send + Sync + 'static {
fn handle_error(&self, error: E);
}
Expand description
A trait which handles errors reported by the ManageConnection
.
Required Methods
sourcefn handle_error(&self, error: E)
fn handle_error(&self, error: E)
Handles an error.