Function smoltcp::phy::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.