-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
IntoRawFd implementations missing #1414
Comments
IIRC, I asked about this before and the issue was |
My assumption is IntoRawFd is Unix only so that is fine. |
I guess on Windows one would want to do the same with |
We need mio 0.7 for this. |
Blocked on mio 0.7. Adding this will be part of that updated. I don't think we need a dedicated issue open at the moment as progress is blocked. |
Version
0.1.x
Subcrates
tokio-tcp
Description
TcpStream
andTcpListener
implementAsRawFd
but notIntoRawFd
.IntoRawFd
is needed to drop theTcpStream
orTcpListener
without closing the connection.(There's also no
FromRawFd
but these can be emulated using thefrom_std
functions)The text was updated successfully, but these errors were encountered: