Crate event_manager
source ·Expand description
Event Manager traits and implementation.
Structs
- Allows event subscribers to be registered, connected to the event loop, and later removed.
- Opaque object associated with an
EventSubscriber
that allows the addition, modification, and removal of events in the watchlist. - The type of epoll events we can monitor a file descriptor for. The type of events we can monitor a file descriptor for.
- Wrapper over an
epoll::EpollEvent
object. - RemoteEndpoint
remote_endpoint
Enables interactions with anEventManager
that runs on a different thread of execution. - Opaque object that uniquely represents a subscriber registered with an
EventManager
.
Enums
- Error conditions that may appear during
EventManager
related operations.
Constants
- Maximum capacity of ready events that can be passed when initializing the
EventManager
.
Traits
- Allows the interaction between an
EventManager
and different event subscribers that do not require a&mut self
borrow to performinit
andprocess
. - Allows the interaction between an
EventManager
and different event subscribers. Methods are invoked with a mutableself
borrow. - API that allows users to add, remove, and interact with registered subscribers.
Type Aliases
- Generic result type that may return
EventManager
errors.