wait

Function wait 

Source
pub fn wait(fd: RawFd, duration: Option<Duration>) -> Result<()>
Expand description

Wait until given file descriptor becomes readable, but no longer than given timeout.