Lines Matching defs:temp_file
146 let mut temp_file = NamedTempFile::new()?;
147 temp_file.write_all(toml_content.as_bytes())?;
149 let path = temp_file.path().to_path_buf();
188 let mut temp_file = NamedTempFile::new()?;
189 temp_file.write_all(invalid_toml_content.as_bytes())?;
191 let path = temp_file.path().to_path_buf();
208 let mut temp_file = NamedTempFile::new()?;
209 temp_file.write_all(invalid_toml_content.as_bytes())?;
211 let path = temp_file.path().to_path_buf();
227 let mut temp_file = NamedTempFile::new()?;
228 temp_file.write_all(toml_content.as_bytes())?;
230 let path = temp_file.path().to_path_buf();
246 let mut temp_file = NamedTempFile::new()?;
247 temp_file.write_all(toml_content.as_bytes())?;
248 let path = temp_file.path().to_path_buf();