Type Definition slog_retry::Strategy [] [src]

type Strategy = Box<Iterator<Item = Duration>>;

A retry strategy.

The iterator describes how long to wait before reconnection attempts. Once the iterator runs out of items, the adapter gives up trying to reconnect. Therefore, it specifies both the waiting intervals and number of retries.