Skip to content
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

net: add UdpSocket readiness and non-blocking ops #3138

Merged
merged 7 commits into from Nov 16, 2020
Merged

Commits on Nov 13, 2020

  1. net: add UdpSocket readiness and non-blocking ops

    Adds `ready()`, `readable()`, and `writable()` async methods for waiting
    for socket readiness. Adds `try_send`, `try_send_to`, `try_recv`, and
    `try_recv_from` for performing non-blocking operations on the socket.
    
    This is the UDP equivalent of #3130.
    carllerche committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    0721cc5 View commit details
    Browse the repository at this point in the history
  2. fix test

    carllerche committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    a269e3e View commit details
    Browse the repository at this point in the history
  3. fix doc tests

    carllerche committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    e132e14 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2020

  1. Apply suggestions from code review

    Co-authored-by: Alice Ryhl <alice@ryhl.io>
    carllerche and Darksonn committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    d4e9256 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. fmt

    carllerche committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    70f3c4a View commit details
    Browse the repository at this point in the history
  2. apply more feedback

    carllerche committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    4d7a5de View commit details
    Browse the repository at this point in the history
  3. apply remaining feedback

    carllerche committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    722052c View commit details
    Browse the repository at this point in the history