Expand description
Event Manager traits and implementation.
Structs§
- Event
Manager - Allows event subscribers to be registered, connected to the event loop, and later removed.
- Event
Ops - Opaque object associated with an
EventSubscriberthat allows the addition, modification, and removal of events in the watchlist. - Event
Set - The type of epoll events we can monitor a file descriptor for. The type of events we can monitor a file descriptor for.
- Events
- Wrapper over an
epoll::EpollEventobject. - Remote
Endpoint remote_endpoint - Enables interactions with an
EventManagerthat runs on a different thread of execution. - Subscriber
Id - Opaque object that uniquely represents a subscriber registered with an
EventManager.
Enums§
- Error
- Error conditions that may appear during
EventManagerrelated operations.
Constants§
- MAX_
READY_ EVENTS_ CAPACITY - Maximum capacity of ready events that can be passed when initializing the
EventManager.
Traits§
- Event
Subscriber - Allows the interaction between an
EventManagerand different event subscribers that do not require a&mut selfborrow to performinitandprocess. - MutEvent
Subscriber - Allows the interaction between an
EventManagerand different event subscribers. Methods are invoked with a mutableselfborrow. - Subscriber
Ops - API that allows users to add, remove, and interact with registered subscribers.
Type Aliases§
- Result
- Generic result type that may return
EventManagererrors.