Function read_image_from_url

Source
pub async fn read_image_from_url(url: &Url) -> Result<CacheValue>
Expand description

Fetch an image from a URL and return it as a CacheValue

ยงErrors

Returns an error if the image cannot be fetched or if the content type is unsupported.