mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-11 00:00:16 +02:00
This patch updates `poll_read_ready` to take a `mask` argument, enabling the caller to specify the desired readiness. `need_read` is renamed to `clear_read_ready` and also takes a mask. This enables a caller to listen for HUP events without requiring reading from the I/O resource.