[][src]Trait bb8::ErrorSink

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

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

Required methods

pub fn sink(&self, error: E)[src]

Receive an error

pub fn boxed_clone(&self) -> Box<dyn ErrorSink<E>>[src]

Clone this sink.

Loading content...

Implementors

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

Loading content...