Expand description
Rust bindings to the libevent async I/O framework.
Structs§
- Base
- Wrapper for libevent’s
event_base
which is responsible for executing associated events. - Event
- The exposed event handle which wraps the raw
event
with a defined synchronization method and contains other necessary metadata. - Event
Flags - Flags used both as inputs to define activation characteristics of an event, as well as an output given in the callback as to what triggered event activation.
- Fd
- The primitive event-type which is created with Event::new using a
a non-negative
RawFd
. - Interval
- A specialized event-type which represents a continuous-interval timer.
- Loop
Flags - Flags given to the event loop to alter its behavior.
- Oneshot
- A specialized event-type which represents a one-time event that cleans itself up after execution.
Enums§
- Exit
Reason - Enumerates all possible reasons that the event loop may have stopped running.
Type Aliases§
- Event
Callback Ctx - The event callback’s raw context type (void pointer).
- Event
Callback Flags - The event callback’s raw flags type.
- Evutil
Socket - A file descriptor in libevent.