polling/src
John Nunley ea5a38a500
feat(windows): AFD failure now sources underlying I/O error
Previously, if AFD failed to initialize `polling` would return a custom
I/O error with a string error, containing the formatted version of the
underlying system error. However, this means that information about the
underlying system error is lost to the user.

This commit makes it so the returned `io::Error` wraps a user
inaccessible type: `AfdError`. This `AfdError`, when stringified,
returns a similar error message as what was previously returned. In
addition when `.source()` is used it returns the underlying system
error.

Closes #174

Signed-off-by: John Nunley <dev@notgull.net>
2024-01-08 16:34:13 -08:00
..
iocp feat(windows): AFD failure now sources underlying I/O error 2024-01-08 16:34:13 -08:00
os bugfix: Manage sources being inserted into kqueue 2023-09-27 21:30:46 -07:00
epoll.rs Remove needless imports (#159) 2023-10-08 17:23:34 +09:00
kqueue.rs bugfix: Manage sources being inserted into kqueue 2023-09-27 21:30:46 -07:00
lib.rs bugfix: Handle interrupts while polling 2023-10-27 07:02:08 -07:00
os.rs feat: Add functionality for posting events to the IOCP (#101) 2023-04-16 07:37:48 -07:00
poll.rs Remove needless imports (#159) 2023-10-08 17:23:34 +09:00
port.rs feat: Make the constructors for Event const 2023-08-21 18:32:21 -07:00