Struct r2d2::LoggingErrorHandler [] [src]

pub struct LoggingErrorHandler;

A HandleError implementation which logs at the error level.

Trait Implementations

impl Debug for LoggingErrorHandler
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for LoggingErrorHandler
[src]

fn clone(&self) -> LoggingErrorHandler

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for LoggingErrorHandler
[src]

impl<E> HandleError<E> for LoggingErrorHandler where E: Error
[src]

fn handle_error(&self, error: E)

Handles an error.