Function to_file_with_options

Source
pub fn to_file_with_options<P: AsRef<Path>>(
    data: &Data,
    path: P,
    options: OpenOptions,
) -> Result<()>
Expand description

Attempts to serialize a Data struct to a file