Change TcpStream::poll_peek to use ReadBuf #2987
Labels
A-tokio
Area: The main tokio crate
C-enhancement
Category: A PR with an enhancement or bugfix.
M-net
Module: tokio/net
Milestone
This includes
poll_peek
on all ofTcpStream
,ReadHalf
andOwnedReadHalf
.This is a breaking change, so must be done when transitioning to Tokio 1.0.
The text was updated successfully, but these errors were encountered: