Trait bb8::ErrorSink[][src]

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

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

Required methods

Receive an error

Clone this sink.

Implementors