Method lrs::poll::Epoll::wait

Waits for an event to occur.

Syntax

impl Epoll {
    fn wait(&self, events: &'a mut [Event]) -> Result<&'a mut [Event], Errno>
}

Arguments

NameDescription
events

The buffer in which events will be stored.

Return value

Returns a slice of events that occurred.