[][src]Crate libevent

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.

EventFlags

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.

LoopFlags

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

ExitReason

Enumerates all possible reasons that the event loop may have stopped running.

Type Definitions

EventCallbackCtx

The event callback's raw context type (void pointer).

EventCallbackFlags

The event callback's raw flags type.

EvutilSocket

A file descriptor in libevent.