Skip to main content

Backoff

Trait Backoff 

Source
pub trait Backoff: Stream<Item = Duration> + Unpin { }
Expand description

Helper trait alias for backoff streams. We define any stream that yields Durations as a backoff

Implementors§

Source§

impl<T> Backoff for T
where T: Stream<Item = Duration> + Unpin,