pub fn fetch_from_str_url(str: &str) -> Result<Data, FetchError> {
    fetch_url(
        Url::parse(str).map_err(|e| FetchError::URLParseError(anyhow::anyhow!(e)))?,
        Default::default(),
    )
}
/// A convenience wrapper around [fetch_url()] with a string URL and default flags.
A convenience wrapper around [fetch_url()] with a string URL and default flags.
A convenience wrapper around [ fetch_url () ] with a string URL and default flags .
pub fn fetch_from_str_url(str: &str) -> Result<Data, FetchError> {
    fetch_url(
        Url::parse(str).map_err(|e| FetchError::URLParseError(anyhow::anyhow!(e)))?,
        Default::default(),
    )
}
pub fn fetch_from_str_url ( str : & str ) -> Result < Data , FetchError > { fetch_url ( Url :: parse ( str ) . map_err ( | e | FetchError :: URLParseError ( anyhow :: anyhow ! ( e ) ) ) ? , Default :: default ( ) , ) }
A convenience wrapper around [fetch_url()] with a string URL and default flags.
A convenience wrapper around [ fetch_url () ] with a string URL and default flags .
str
&str
str
&str