resp_to_string

Function resp_to_string 

Source
pub async fn resp_to_string(
    resp: &mut Response<Body>,
) -> Result<String, Box<dyn Error + Send + Sync>>
Expand description

Read the body content of a mutable reference to a Response object into a string.