Searched refs:as_errno (Results 1 – 5 of 5) sorted by relevance
81 unistd::read(self.0, buf).map_err(|e| e.as_errno().unwrap().into()) in read()87 unistd::write(self.0, buf).map_err(|e| e.as_errno().unwrap().into()) in write()
120 pub fn as_errno(self) -> Option<Errno> { in as_errno() method
60 Some(Errno::EAGAIN) == e.as_errno() in is_blocking()
985 assert_eq!(access(&dir, AccessFlags::F_OK).err().unwrap().as_errno().unwrap(), in test_access_not_existing()
274 - `Ipv4Addr::octets`, `Ipv4Addr::to_std`, `Error::as_errno`,484 - Added `Error::as_errno`.