mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-12 00:00:12 +02:00
This commit makes a few tweaks to the new `easy` module: - Rename `Parse` to `Decode`, and `Serialize` to `Encode`. - Don't use `Poll` for the `decode` method; we prefer to reserve that type for actual aync events, and in particular for a `NotReady` result to imply that some task scheduling has taken place. Instead, use an internal `Option`.