read_proto

Function read_proto 

Source
pub async fn read_proto<R: AsyncReadExt + Unpin>(r: &mut R) -> Result<Proto>
Expand description

Read a protocol version from the stream.