nix
nix copied to clipboard
Added I/O safety to sys::aio
trafficstars
What does this PR do
Adds I/O safety to the sys/aio module. Those methods now take AsFd arguments instead of RawFd. And struct Aiocb now has a lifetime argument.
Checklist:
- [x] I have read
CONTRIBUTING.md - [x] I have written necessary tests and rustdoc comments
- [x] A change log has been added if this PR modifies nix's API