Function rust_utils::utils::save_file
source · [−]Expand description
Abstraction around fs::write() that includes error handling
Returns the following codes:
OK: Save operation successful
ERR: There was a problem writing the file