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

Change UnixListener::poll_accept to public #2845

Merged
merged 1 commit into from Sep 23, 2020

Commits on Sep 19, 2020

  1. Change UnixListener::poll_accept to public

    This makes it consistent with `TcpListener::poll_accept` and other
    public poll methods the library provides. This particular method is
    useful for writing generic code that accepts connections since async
    functions can't easily be used with traits. It is possible to
    generically accept connections with `Incoming`, however, this doesn't
    return the incoming `SocketAddr`.
    kalcutter committed Sep 19, 2020
    Copy the full SHA
    35d43e5 View commit details
    Browse the repository at this point in the history