resp_into_struct

Function resp_into_struct 

Source
pub async fn resp_into_struct<T>(
    resp: Response<Body>,
) -> Result<T, Box<dyn Error + Send + Sync>>