Module devices::utils::event_loop

source ·

Structs§

  • EventLoop is an event loop blocked on a set of fds. When a monitered events is triggered, event loop will invoke the mapped handler.

Traits§

  • Interface for event handler.
  • A fail handle will do the clean up when we cannot recover from some error.