-
Notifications
You must be signed in to change notification settings - Fork 674
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
InetAddr replacements are not convertible to libstd types? #1710
Comments
You're right. We could add that back. Or maybe just |
Yeah the latter was what I was looking for but couldn't find. Would you take a PR? |
sure. |
1711: Restore conversions from ip v4/6 Sockaddr types to std::net equivalents. r=asomers a=khuey Fixes #1710 Co-authored-by: Kyle Huey <[email protected]>
@asomers do you view this regression in functionality (prior to this submission) as a bug? Is it worth making a 0.24.2 for this, or just holding out for a future release? |
No, I don't think of it as a regression. If it were, then we should've named the new methods |
The old |
Apologies if I've overlooked something here.
The now deprecated
nix::sys::socket::InetAddr
has ato_std
method on it. The replacementSockaddrin
/Sockaddrin6
don't appear to have any equivalent functionality.The text was updated successfully, but these errors were encountered: