Skip to main content

read_render_file

Function read_render_file 

Source
pub async fn read_render_file(
    storage_dir: &Path,
    filename: &str,
) -> Result<Bytes, Error>
Expand description

Read the rendered image bytes back from disk.

ยงErrors

Returns Error::NotFound if the file does not exist, or Error::Io for any other I/O failure.