Module calloop::generic[][src]

Expand description

A generic event source wrapping a file descriptor

You can use this general purpose adapter around file descriptor to insert your own file descriptors into an event loop.

It can also help you implementing your own event sources: just have these Generic<_> as fields of your event source, and delegate the EventSource implementation to them.

Structs

A wrapper to insert a raw file descriptor into a Generic event source

A generic event source wrapping a FD-backed type