Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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`.
- Loading branch information