[][src]Crate event_manager

Event Manager traits and implementation.

Structs

EventManager

Allows event subscribers to be registered, connected to the event loop, and later removed.

EventOps

Opaque object associated with an EventSubscriber that allows the addition, modification, and removal of events in the watchlist.

EventSet

The type of epoll events we can monitor a file descriptor for.

Events

Wrapper over an epoll::EpollEvent object.

SubscriberId

Opaque object that uniquely represents a subscriber registered with an EventManager.

Enums

Error

Error conditions that may appear during EventManager related operations.

Traits

EventSubscriber

Allows the interaction between an EventManager and different event subscribers that do not require a &mut self borrow to perform init and process.

MutEventSubscriber

Allows the interaction between an EventManager and different event subscribers. Methods are invoked with a mutable self borrow.

SubscriberOps

API that allows users to add, remove, and interact with registered subscribers.

Type Definitions

Result

Generic result type that may return EventManager errors.