Function tokio::io::util::read_buf::read_buf

source ·
pub(crate) fn read_buf<'a, R, B>(
    reader: &'a mut R,
    buf: &'a mut B,
) -> ReadBuf<'a, R, B> 
where R: AsyncRead + Unpin + ?Sized, B: BufMut + ?Sized,