Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m: Improve drop ergonomics of Ready #109

Merged
merged 2 commits into from
Jan 18, 2023
Merged

Conversation

notgull
Copy link
Member

@notgull notgull commented Jan 17, 2023

Removes the need for the RemoveOnDrop structure by implementing the drop logic directly on Ready.

@notgull notgull merged commit 5fffa8f into master Jan 18, 2023
@notgull notgull deleted the notgull/drop-ergonomics branch January 18, 2023 01:06
@notgull notgull mentioned this pull request Mar 21, 2023
notgull added a commit that referenced this pull request Mar 22, 2023
- Use [`rustix`] instead of [`libc`]/[`windows-sys`] for system calls (#76)
- Add a `will_fire` method to `Timer` to test if it will ever fire (#106)
- Reduce syscalls in `Async::new` (#107)
- Improve the drop ergonomics of `Readable` and `Writable` (#109)
- Change the "`wepoll`" in documentation to "`IOCP`" (#116)

[`rustix`]: https://crates.io/crates/rustix/
[`libc`]: https://crates.io/crates/libc/
[`windows-sys`]: https://crates.io/crates/windows-sys/
notgull added a commit that referenced this pull request Apr 28, 2023
notgull added a commit that referenced this pull request Apr 28, 2023
- Use [`rustix`] instead of [`libc`]/[`windows-sys`] for system calls (#76)
- Add a `will_fire` method to `Timer` to test if it will ever fire (#106)
- Reduce syscalls in `Async::new` (#107)
- Improve the drop ergonomics of `Readable` and `Writable` (#109)
- Change the "`wepoll`" in documentation to "`IOCP`" (#116)

[`rustix`]: https://crates.io/crates/rustix/
[`libc`]: https://crates.io/crates/libc/
[`windows-sys`]: https://crates.io/crates/windows-sys/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants