pub(crate) async fn receive_eof(&mut self) -> crate::Result<()> {
        // When (legacy) EOFs are enabled, many things are terminated by an EOF packet
        if !self.capabilities.contains(Capabilities::DEPRECATE_EOF) {
            let _eof = EofPacket::decode(self.receive().await?.packet())?;
        }

        Ok(())
    }
/// Receive an [EofPacket] if we are supposed to receive them at all.
Receive an [EofPacket] if we are supposed to receive them at all.
Receive an [ EofPacket ] if we are supposed to receive them at all .
pub(crate) async fn receive_eof(&mut self) -> crate::Result<()> {
        // When (legacy) EOFs are enabled, many things are terminated by an EOF packet
        if !self.capabilities.contains(Capabilities::DEPRECATE_EOF) {
            let _eof = EofPacket::decode(self.receive().await?.packet())?;
        }
        Ok(())
    }
pub ( crate ) async fn receive_eof ( & mut self ) -> crate :: Result < ( ) > { // When (legacy) EOFs are enabled, many things are terminated by an EOF packet if ! self . capabilities . contains ( Capabilities :: DEPRECATE_EOF ) { let _eof = EofPacket :: decode ( self . receive ( ) . await ? . packet ( ) ) ? ; } Ok ( ( ) ) }
Receive an [EofPacket] if we are supposed to receive them at all.
Receive an [ EofPacket ] if we are supposed to receive them at all .
&mut self
&mut self