pub(crate) fn wait_readable( fd: RawFd, timeout: Duration, ) -> Result<bool, String>
Block until fd is readable or timeout passes (false = timed out).
fd
timeout