pub fn wait_read_timeout(fd: &impl AsFd, timeout: Duration) -> Result<()>
Waits for fd to become ready to read or timeout to expire.
fd
timeout