Waits for an event to occur or a timeout to expire.
impl Epoll {
fn wait_timeout(&self, events: &'a mut [Event], timeout: Time) -> Result<&'a mut [Event], Errno>
}| Name | Description |
|---|---|
| events | The buffer in which events will be stored. |
| timeout | The maximum time this call will block. |
Returns a slice of events that occurred.