write_to_file

Function write_to_file 

Source
pub fn write_to_file(path: &PathBuf, policy: &Policy) -> Result<(), Error>
Expand description

Write the policy object to a file at path, this will create a file if it does not exist and overwrite any file if it exists.