-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
feat: introduce UdpSocketState::try_send
APIs
#2017
Conversation
a3d8720
to
e617ab9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks reasonable to me, thanks!
@djc Can the feedback be in follow-up commits or should I amend? |
Please amend so that we end up with a clean commit series to review. |
This makes it more apparent that this logging is happening because users are more likely to read at least the first "layer" of the APIs they are using. In addition, we are going to offer a `try_send` API which requires us to decouple the `send` free-function from this logging behaviour.
e515a27
to
6fa3674
Compare
6fa3674
to
ce7bcbe
Compare
This allows us to have it follow the exact same implementation as the unix and windows one.
ce7bcbe
to
13139d7
Compare
Just fixed up CI, sorry for the hickup! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! We should probably consolidate the public definitions somehow one of these days...
Resolves: #1971.