Type Definition slog_retry::NewStrategy
[−]
[src]
type NewStrategy = Box<Fn() -> Strategy + Send>;
A constructor of a new instance of a retry strategy.
Every time the adapter needs to retry connection, it calls the constructor and gets a fresh retry strategy.