pub(crate) fn wait_timeout(&self, duration: Duration) -> bool {
        self.condvar
            .wait_timeout(self.condvar_mutex.lock().unwrap(), duration)
            .unwrap()
            .1
            .timed_out()
    }
/// Waits until either the server is requested to do a topology check or until `duration` has
/// elapsed. Returns `true` if `duration` has elapsed and `false` otherwise.
Waits until either the server is requested to do a topology check or until `duration` has
elapsed.
Waits until either the server is requested to do a topology check or until ` duration ` has elapsed .
pub(crate) fn wait_timeout(&self, duration: Duration) -> bool {
        self.condvar
            .wait_timeout(self.condvar_mutex.lock().unwrap(), duration)
            .unwrap()
            .1
            .timed_out()
    }
pub ( crate ) fn wait_timeout ( & self , duration : Duration ) -> bool { self . condvar . wait_timeout ( self . condvar_mutex . lock ( ) . unwrap ( ) , duration ) . unwrap ( ) . 1 . timed_out ( ) }
Waits until either the server is requested to do a topology check or until `duration` has
elapsed.
Waits until either the server is requested to do a topology check or until ` duration ` has elapsed .
&self
duration
Duration
&self
duration
Duration