Searched refs:with_err_path (Results 1 – 6 of 6) sorted by relevance
161 let result = fs::remove_file(&self.path).with_err_path(|| &*self.path); in close()861 .with_err_path(|| NamedTempFile::path(self)) in reopen()867 self.as_file_mut().read(buf).with_err_path(|| self.path()) in read()873 .with_err_path(|| self.path()) in read_vectored()879 .with_err_path(|| self.path()) in read_to_end()885 .with_err_path(|| self.path()) in read_to_string()891 .with_err_path(|| self.path()) in read_exact()897 self.as_file().read(buf).with_err_path(|| self.path()) in read()903 .with_err_path(|| self.path()) in read_vectored()909 .with_err_path(|| self.path()) in read_to_end()[all …]
23 fn with_err_path<F, P>(self, path: F) -> Self in with_err_path() method30 fn with_err_path<F, P>(self, path: F) -> Self in with_err_path() method
50 .with_err_path(|| base) in create_helper()
21 .with_err_path(|| &path) in create()
19 .with_err_path(|| &path) in create()
400 let result = remove_dir_all(self.path()).with_err_path(|| self.path()); in close()