Function poll_read

Source
pub fn poll_read<I, O>(
    input: Pin<&mut I>,
    output: &mut O,
    cx: &mut Context<'_>,
    delta_limit: usize,
) -> PollResult
where I: AsyncRead, O: BufMut,
Expand description

This function tries to read at most delta_limit bytes from input to output.