Home
last modified time | relevance | path

Searched refs:as_errno (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/nix/src/
Dpty.rs81 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()
Dlib.rs120 pub fn as_errno(self) -> Option<Errno> { in as_errno() method
/external/rust/crates/tokio/tests/
Dio_async_fd.rs60 Some(Errno::EAGAIN) == e.as_errno() in is_blocking()
/external/rust/crates/nix/test/
Dtest_unistd.rs985 assert_eq!(access(&dir, AccessFlags::F_OK).err().unwrap().as_errno().unwrap(), in test_access_not_existing()
/external/rust/crates/nix/
DCHANGELOG.md274 - `Ipv4Addr::octets`, `Ipv4Addr::to_std`, `Error::as_errno`,
484 - Added `Error::as_errno`.