Switch TCP/UDP fns to poll_ -> Poll<...> style (#175)

Tokio is moving away from using `WouldBlock`, instead favoring
`Async::NotReady`.

This patch updates the TCP and UDP types, deprecating any function that
returns `WouldBlock` and adding a poll_ prefixed equivalent.
This commit is contained in:
Carl Lerche
2018-03-04 10:46:54 -08:00
committed by GitHub
parent 7db7719419
commit 9f7a98af3c
6 changed files with 195 additions and 95 deletions
-1
View File
@@ -71,7 +71,6 @@ extern crate futures;
extern crate iovec;
extern crate mio;
extern crate slab;
#[macro_use]
extern crate tokio_io;
extern crate tokio_executor;
extern crate tokio_reactor;