Module api

Source
Expand description

Main loop abstraction layer API.

Structs§

MainloopApi
An abstract mainloop API vtable
MainloopInner
Mainloop inner wrapper.

Traits§

Mainloop
Mainloop trait, to be implemented by the different types of mainloops.
MainloopInnerType
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.
MainloopInternalType
This enables generic type enforcement with the opaque C objects.

Type Aliases§

DeferEventCb
A defer event callback prototype.
DeferEventDestroyCb
A defer event destroy callback prototype.
IoEventCb
An IO event callback prototype.
IoEventDestroyCb
A IO event destroy callback prototype.
TimeEventCb
A time event callback prototype.
TimeEventDestroyCb
A time event destroy callback prototype.