async fn text(&self) -> Result<String, Error> {
        let text = self.inner.text().map_err(|_| Error)?;
        let text = JsFuture::from(text).await.map_err(|_| Error)?;
        text.as_string().ok_or(Error)
    }
/// Try to get the text of the respponse.
Try to get the text of the respponse.
Try to get the text of the respponse .
async fn text(&self) -> Result<String, Error> {
        let text = self.inner.text().map_err(|_| Error)?;
        let text = JsFuture::from(text).await.map_err(|_| Error)?;
        text.as_string().ok_or(Error)
    }
async fn text ( & self ) -> Result < String , Error > { let text = self . inner . text ( ) . map_err ( | _ | Error ) ? ; let text = JsFuture :: from ( text ) . await . map_err ( | _ | Error ) ? ; text . as_string ( ) . ok_or ( Error ) }
Try to get the text of the respponse.
Try to get the text of the respponse .
&self
&self