Function tempfile::file::create_named

source ยท
pub(crate) fn create_named(
    path: PathBuf,
    open_options: &mut OpenOptions,
    permissions: Option<&Permissions>,
    keep: bool,
) -> Result<NamedTempFile>