[][src]Trait c3p0_pg_async::pg_async::bb8::bb8::ErrorSink

pub trait ErrorSink<E>: 'static + Send + Sync + Debug {
    fn sink(&self, error: E);
fn boxed_clone(&self) -> Box<dyn ErrorSink<E> + 'static>; }

A trait to receive errors generated by connection management that aren't tied to any particular caller.

Required methods

fn sink(&self, error: E)

Receive an error

fn boxed_clone(&self) -> Box<dyn ErrorSink<E> + 'static>

Clone this sink.

Loading content...

Implementors

impl<E> ErrorSink<E> for NopErrorSink[src]

Loading content...