pub fn wait_timeout(
fd: BorrowedFd<'_>,
events: PollFlags,
timeout: Duration,
) -> Result<()>
Expand description
Waits for an event on fd
or for timeout
to expire.
pub fn wait_timeout(
fd: BorrowedFd<'_>,
events: PollFlags,
timeout: Duration,
) -> Result<()>
Waits for an event on fd
or for timeout
to expire.