Trait backoff::Notify[][src]

pub trait Notify<E> {
    fn notify(&mut self, err: E, duration: Duration);
}

Notify is called in retry_notify in case of errors.

Required methods

fn notify(&mut self, err: E, duration: Duration)[src]

Loading content...

Implementors

impl<E, F> Notify<E> for F where
    F: FnMut(E, Duration), 
[src]

Loading content...