pub async fn read_string(response: &mut Response<Body>) -> String {
    let body_bytes =
        to_bytes(response.body_mut()).await.expect("error reading body");
    String::from_utf8(body_bytes.as_ref().into())
        .expect("response contained non-UTF-8 bytes")
}
/**
 * Given a Hyper Response whose body is expected to be a UTF-8-encoded string,
 * asynchronously read the body.
 */
Given a Hyper Response whose body is expected to be a UTF-8-encoded string,
asynchronously read the body.
Given a Hyper Response whose body is expected to be a UTF - 8 - encoded string asynchronously read the body .
pub async fn read_string(response: &mut Response<Body>) -> String {
    let body_bytes =
        to_bytes(response.body_mut()).await.expect("error reading body");
    String::from_utf8(body_bytes.as_ref().into())
        .expect("response contained non-UTF-8 bytes")
}
pub async fn read_string ( response : & mut Response < Body > ) -> String { let body_bytes = to_bytes ( response . body_mut ( ) ) . await . expect ( " " ) ; String :: from_utf8 ( body_bytes . as_ref ( ) . into ( ) ) . expect ( " " ) }
Given a Hyper Response whose body is expected to be a UTF-8-encoded string,
 asynchronously read the body.
Given a Hyper Response whose body is expected to be a UTF - 8 - encoded string asynchronously read the body .
response
&mut Response<Body>
response
&mut Response<Body>