Thomasdezeeuw / gaea

Low-level library to build event driven applications, supporting lightweight non-blocking I/O.
https://docs.rs/gaea/
MIT License
16 stars 0 forks source link

Drop bitflags #29

Closed Thomasdezeeuw closed 5 years ago

Thomasdezeeuw commented 5 years ago

If we drop bitflags and ensure that the interests provided to register and reregister are never we can drop the not_empty check. This also means we can drop PollCalled.

Thomasdezeeuw commented 5 years ago

While we're at it we can make Interest and Ready two different types. Interest only needs READABLE and WRITABLE.

Thomasdezeeuw commented 5 years ago

Interests is created in v0.2 branch.