diesel::r2d2

Trait HandleError

Source
pub trait HandleError<E>:
    Debug
    + Send
    + Sync
    + 'static {
    // Required method
    fn handle_error(&self, error: E);
}
Available on crate feature r2d2 only.
Expand description

A trait which handles errors reported by the ManageConnection.

Required Methods§

Source

fn handle_error(&self, error: E)

Handles an error.

Implementors§