/// Wraps `self` returning the result, or panicking if the future hasn't
/// completed after `d` length of time.
///
/// # Safety
///
/// This method panics if `d` elapses before the task rejoins.
Wraps `self` returning the result, or panicking if the future hasn't
completed after `d` length of time.
Wraps ` self ` returning the result or panicking if the future hasn ' t completed after ` d ` length of time .
async fn with_timeout_panic(mut self, d: Duration) -> <Self as Future>::Output {
        self.with_timeout(d)
            .await
            .expect("timeout waiting for task to join")
    }
async fn with_timeout_panic ( mut self , d : Duration ) -> < Self as Future > :: Output { self . with_timeout ( d ) . await . expect ( " " ) }
Wraps `self` returning the result, or panicking if the future hasn't
completed after `d` length of time.
Wraps ` self ` returning the result or panicking if the future hasn ' t completed after ` d ` length of time .
mut self
d
Duration
safety
This method panics if `d` elapses before the task rejoins.
This method panics if ` d ` elapses before the task rejoins .