fn schedule_bootstrap(&mut self) {
        match self.bootstrap_scheduled {
            Some((scheduled, mut delay)) if delay < self.config.bootstrap_max_delay => {
                // Delay bootstrap by `elapsed`
                delay += scheduled.elapsed()
            }
            Some(_) => { /* maximum delay reached */ }
            None => {
                self.bootstrap_scheduled
                    .replace((Instant::now(), self.config.bootstrap_delay));
            }
        };
    }
/// Schedule sending of `RunBootstrap` event after a `bootstrap_delay`
Schedule sending of `RunBootstrap` event after a `bootstrap_delay`
Schedule sending of ` RunBootstrap ` event after a ` bootstrap_delay `
fn schedule_bootstrap(&mut self) {
        match self.bootstrap_scheduled {
            Some((scheduled, mut delay)) if delay < self.config.bootstrap_max_delay => {
                // Delay bootstrap by `elapsed`
                delay += scheduled.elapsed()
            }
            Some(_) => { /* maximum delay reached */ }
            None => {
                self.bootstrap_scheduled
                    .replace((Instant::now(), self.config.bootstrap_delay));
            }
        };
    }
fn schedule_bootstrap ( & mut self ) { match self . bootstrap_scheduled { Some ( ( scheduled , mut delay ) ) if delay < self . config . bootstrap_max_delay => { // Delay bootstrap by `elapsed` delay += scheduled . elapsed ( ) } Some ( _ ) => { /* maximum delay reached */ } None => { self . bootstrap_scheduled . replace ( ( Instant :: now ( ) , self . config . bootstrap_delay ) ) ; } } ; }
Schedule sending of `RunBootstrap` event after a `bootstrap_delay`
Schedule sending of ` RunBootstrap ` event after a ` bootstrap_delay `
&mut self