[][src]Function exr::io::attempt_delete_file_on_write_error

pub fn attempt_delete_file_on_write_error(
    path: impl AsRef<Path>,
    write: impl FnOnce(File) -> UnitResult
) -> UnitResult

If an error occurs while writing, attempts to delete the partially written file.