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

Implement I/O safety traits #39

Merged
merged 1 commit into from
Aug 17, 2022
Merged

Implement I/O safety traits #39

merged 1 commit into from
Aug 17, 2022

Conversation

notgull
Copy link
Contributor

@notgull notgull commented Aug 17, 2022

This PR implements I/O safety traits on File. I implemented AsFd/AsHandle and Into<OwnedFd/OwnedHandle>, although I wasn't able to implement From<OwnedFd> since that does not come with path information.

See also: sunfishcode/io-lifetimes#38

@andrewhickman andrewhickman merged commit d3bbe4c into andrewhickman:master Aug 17, 2022
@andrewhickman
Copy link
Owner

Thanks! This is released in version 2.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants