Function cpp_to_rust_common::file_utils::open_file_with_options [] [src]

pub fn open_file_with_options<P: AsRef<Path>>(
    path: P,
    options: &OpenOptions
) -> Result<FileWrapper>

A wrapper over std::fs::OpenOptions::open with better error reporting.