Searched refs:from_io (Results 1 – 3 of 3) sorted by relevance
164 let meta = try!(fs::metadata(&dir).map_err(error::from_io)); in with_dir()226 let mut child = try!(command.spawn().map_err(error::from_io)); in probe()230 try!(stdin.write_all(b"#![no_std]\n").map_err(error::from_io)); in probe()232 try!(stdin.write_all(code.as_ref()).map_err(error::from_io)); in probe()235 let status = try!(child.wait().map_err(error::from_io)); in probe()
47 pub fn from_io(e: io::Error) -> Error { in from_io() function
30 .map_err(error::from_io)); in from_rustc()