pub async fn bytes(&mut self) -> Result<Bytes> {
        let mut bytes = BytesMut::new();
        while let Some(buf) = self.try_next().await? {
            bytes.extend_from_slice(&buf);
        }
        Ok(bytes.freeze())
    }
/// Reads field data to bytes.
Reads field data to bytes.
Reads field data to bytes .
pub async fn bytes(&mut self) -> Result<Bytes> {
        let mut bytes = BytesMut::new();
        while let Some(buf) = self.try_next().await? {
            bytes.extend_from_slice(&buf);
        }
        Ok(bytes.freeze())
    }
pub async fn bytes ( & mut self ) -> Result < Bytes > { let mut bytes = BytesMut :: new ( ) ; while let Some ( buf ) = self . try_next ( ) . await ? { bytes . extend_from_slice ( & buf ) ; } Ok ( bytes . freeze ( ) ) }
Reads field data to bytes.
Reads field data to bytes .
&mut self
&mut self