[][src]Module calloop::generic

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

Fd

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

Generic

A generic event source wrapping a FD-backed type