Impl std::os::fd traits for OwnedFD
Closed this issue · 2 comments
ColonelThirtyTwo commented
std includes several file-descriptor-related traits that OwnedFD
ought to implement.
Alternatively, use std::os::fd::OwnedFd
and std::os::fd::BorrowedFd
instead of uapi
's custom implementations.
mahkoh commented
std includes several file-descriptor-related traits that OwnedFD ought to implement.
Please create a PR.
Alternatively, use std::os::fd::OwnedFd and std::os::fd::BorrowedFd instead of uapi's custom implementations.
The APIs of these std types are very different from the uapi types.
mahkoh commented
These traits are now implemented.