Files
tokio/tokio/tests
Carl Lerche 066965cd59 net: use &self with TcpListener::accept (#2919)
Uses the infrastructure added by #2828 to enable switching
`TcpListener::accept` to use `&self`.

This also switches `poll_accept` to use `&self`. While doing introduces
a hazard, `poll_*` style functions are considered low-level. Most users
will use the `async fn` variants which are more misuse-resistant.

TcpListener::incoming() is temporarily removed as it has the same
problem as `TcpSocket::by_ref()` and will be implemented later.
2020-10-08 12:12:56 -07:00
..
2020-04-02 17:10:44 -04:00
2020-05-21 12:49:36 +02:00
2020-03-26 22:17:56 -07:00
2020-01-14 15:12:08 -08:00
2019-12-17 22:32:12 -08:00
2020-09-11 15:14:45 -07:00
2020-05-30 14:06:03 -07:00
2020-10-02 13:54:00 -07:00