Module epoll_manager

Source
Expand description

A simple wrapper over event_manager::EventManager to solve possible deadlock.

Structs§

EpollManager
A wrapper struct over EventManager to solve possible deadlock.
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 events we can monitor a file descriptor for.
Events
Wrapper over an epoll::EpollEvent object.
RemoteEndpoint
Enables interactions with an EventManager that runs on a different thread of execution.
SubscriberId
Opaque object that uniquely represents a subscriber registered with an EventManager.

Enums§

Error
Error conditions that may appear during EventManager related operations.

Traits§

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 Aliases§

EpollSubscriber
Type of epoll subscriber.