logo
Expand description

Main loop abstraction layer API.

Structs

An abstract mainloop API vtable

Mainloop inner wrapper.

Traits

Mainloop trait, to be implemented by the different types of mainloops.

This enables generic type enforcement with MainloopInner objects, and describes mandatory accessors for the internal pointers, allowing access to these pointers across the generic implementations to work.

This enables generic type enforcement with the opaque C objects.

Type Definitions

A defer event callback prototype.

A defer event destroy callback prototype.

An IO event callback prototype.

A IO event destroy callback prototype.

A time event callback prototype.

A time event destroy callback prototype.