async fn next_request(
        &mut self,
    ) -> Result<ResponseSender<Request, Response, Error>, TestCaseError> {
        match self.try_next_request().await {
            Some(request) => Ok(request),
            None => {
                prop_assert!(false, "Timeout while waiting for a request");
                unreachable!("prop_assert!(false) returns an early error");
            }
        }
    }
/// A helper method to get the next request from the queue.
///
/// Returns the next request in the internal queue or waits at most the max delay time
/// configured by [`MockServiceBuilder::with_max_request_delay`] for a new request to be
/// received, and then returns that.
///
/// If the queue is empty and a request is not received before the max request delay timeout
/// expires, an error generated by a [`proptest`] assertion is returned.
A helper method to get the next request from the queue.
Returns the next request in the internal queue or waits at most the max delay time
configured by [`MockServiceBuilder::with_max_request_delay`] for a new request to be
received, and then returns that.

If the queue is empty and a request is not received before the max request delay timeout
expires, an error generated by a [`proptest`] assertion is returned.
A helper method to get the next request from the queue . Returns the next request in the internal queue or waits at most the max delay time configured by [ ` MockServiceBuilder :: with_max_request_delay ` ] for a new request to be received and then returns that . If the queue is empty and a request is not received before the max request delay timeout expires an error generated by a [ ` proptest ` ] assertion is returned .
async fn next_request(
        &mut self,
    ) -> Result<ResponseSender<Request, Response, Error>, TestCaseError> {
        match self.try_next_request().await {
            Some(request) => Ok(request),
            None => {
                prop_assert!(false, "Timeout while waiting for a request");
                unreachable!("prop_assert!(false) returns an early error");
            }
        }
    }
async fn next_request ( & mut self , ) -> Result < ResponseSender < Request , Response , Error > , TestCaseError > { match self . try_next_request ( ) . await { Some ( request ) => Ok ( request ) , None => { prop_assert ! ( false " " ) ; unreachable ! ( " " ) ; } } }
A helper method to get the next request from the queue.
A helper method to get the next request from the queue .
&mut self