pub async fn read_format<Reader: AsyncReadExt + Unpin>( reader: &mut Reader, ) -> Result<Format, ProtocolError>