2 unstable releases

0.2.0 Dec 15, 2023
0.1.0 Jan 19, 2023

#1352 in Asynchronous

Download history 11/week @ 2024-03-11 2/week @ 2024-03-18 10/week @ 2024-03-25 84/week @ 2024-04-01 23/week @ 2024-04-08 17/week @ 2024-04-15 1/week @ 2024-04-29 1/week @ 2024-06-03 47/week @ 2024-06-10 73/week @ 2024-06-24

121 downloads per month
Used in switchboard

Apache-2.0

6KB
115 lines

Provides a Waker trait to allow using the Waker from mio or a provided Waker that uses eventfd directly (supported only on linux) interchangably.

This is particularly useful in cases where some struct (such as a queue) may be used with either mio-based event loops, or with io_uring. The Waker provided by mio is not directly usable in io_uring based code due to the fact that it must be registered to an event loop (such as epoll).

Dependencies

~0.3–10MB
~63K SLoC