Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add data() method to kqueue events (#772)
* Add data() method to kqueue events This allows us to get the raw data field out, which is useful for reading receipt events. This lets us fully remove libc from polling, see this line: https://github.com/smol-rs/polling/blob/6d13def8abd73da96d1e73090f490ae0ad36d6bd/src/kqueue.rs#L132 Signed-off-by: John Nunley <dev@notgull.net> * Return i64 instead of isize Signed-off-by: John Nunley <dev@notgull.net> --------- Signed-off-by: John Nunley <dev@notgull.net>
- Loading branch information