pub fn park_timeout(&self, duration: Duration) {
        if let Some(park) = unsafe { (*self.park.get()).as_mut() } {
            park.park_timeout(duration).unwrap();
        }
    }
/// Parks the worker thread for at most `duration`.
Parks the worker thread for at most `duration`.
Parks the worker thread for at most ` duration ` .
pub fn park_timeout(&self, duration: Duration) {
        if let Some(park) = unsafe { (*self.park.get()).as_mut() } {
            park.park_timeout(duration).unwrap();
        }
    }
pub fn park_timeout ( & self , duration : Duration ) { if let Some ( park ) = unsafe { ( * self . park . get ( ) ) . as_mut ( ) } { park . park_timeout ( duration ) . unwrap ( ) ; } }
Parks the worker thread for at most `duration`.
Parks the worker thread for at most ` duration ` .
&self
duration
Duration