[−][src]Type Definition rants::DelayGenerator
type DelayGenerator = Box<dyn Fn(&Client, u64, u64) -> Duration + Send>;
The type of a Client
's delay_generator_mut
Arguments
client
- A reference to theClient
that is trying to connectattempts
- The number of previous connect attemptsaddresses
- The number of addresses theClient
is aware of