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.
pub async fn read_image_from_url(url: &Url) -> Result<CacheValue>
Fetch an image from a URL and return it as a CacheValue
Returns an error if the image cannot be fetched or if the content type is unsupported.