pub fn create_file(path: &Path) -> Result<File>
Open path for writing, truncating it, creating it owner-only when missing.
path
@throws io::Error - When the file cannot be opened.