Function read_packet_stream

Source
pub(crate) async fn read_packet_stream<'a>(
    reader: &mut (impl AsyncRead + Unpin),
    buffer: &'a mut [u8],
) -> Result<Option<VsockPacketIterator<'a>>, Error>