/// Asserts that the request stream closes without any further requests.
///
/// # Panics
///
/// Panics on error
Asserts that the request stream closes without any further requests.
Asserts that the request stream closes without any further requests .
pub async fn expect_done(mut self) {
        match self.stream.next().await {
            None => {}
            Some(request) => panic!("unexpected request: {:?}", request),
        }
    }
pub async fn expect_done ( mut self ) { match self . stream . next ( ) . await { None => { } Some ( request ) => panic ! ( " " request ) , } }
Asserts that the request stream closes without any further requests.
Asserts that the request stream closes without any further requests .
mut self
panics
Panics on error
Panics on error