Searched refs:io_err (Results 1 – 8 of 8) sorted by relevance
35 let io_err = |e| Error::FileIOFailed(path.to_owned(), e); in read_vpd_files() localVariable36 let mut reader = BufReader::new(File::open(&path).map_err(io_err)?); in read_vpd_files()38 reader.read_line(&mut line).map_err(io_err)?; in read_vpd_files()
69 (Err(io_err), Ok(string)) => { in finish_string_read()75 Poll::Ready(Err(io_err)) in finish_string_read()86 (Err(io_err), Err(utf8_err)) => { in finish_string_read()89 Poll::Ready(Err(io_err)) in finish_string_read()
54 fn from(io_err: io::Error) -> Self { in from()55 Error::IoError(io_err) in from()
38 fn from(io_err: io::Error) -> Error { in from()39 Error::IoError(io_err) in from()
186 fn from(io_err: io::Error) -> Self { in from()187 Error::IoError(io_err) in from()
483 crate::io_ext::Error::Uring(crate::uring_executor::Error::Io(io_err)) => { in fallocate()484 if io_err.kind() == std::io::ErrorKind::InvalidInput { in fallocate()
104 except IOError as io_err:107 os_err = OSError(*io_err.args)108 os_err.filename = getattr(io_err, 'filename', None)
4758 goto io_err; in bc_program_read()4785 io_err: in bc_program_read()