Function tokio::io::util::read_to_end::poll_read_to_end
source ยท fn poll_read_to_end<V: VecU8, R: AsyncRead + ?Sized>(
buf: &mut VecWithInitialized<V>,
read: Pin<&mut R>,
cx: &mut Context<'_>,
) -> Poll<Result<usize>>
Expand description
Tries to read from the provided AsyncRead
.
The length of the buffer is increased by the number of bytes read.