Closed
Description
An important functionality is missing in 0.27 for Kqueue.
- "field
0
ofKqueue
is private"
There is no way it is possible to close the fd of the kqueue (OwnedFd should do it but in some cases it a raw fd is needed). as_raw_fd() is needed. - An access to the inner type (a raw fd) is needed otherwise it breaks functionality of programs which depends on this functionality. Some programs uses fd number to identify the instance when there are multiple sources.
pub struct Kqueue(OwnedFd); pub struct Epoll(pub OwnedFd);
It would be great to have the same for KQueue.
Metadata
Metadata
Assignees
Labels
No labels