pub async fn recv<'a, T: Deserialize<'a>>(&'a mut self) -> Result<T, RecvError> {
        let bincode_config = self.bincode_config();
        let msg = self.channel.recv().await?;
        bincode_config
            .deserialize(msg)
            .map_err(RecvError::BincodeError)
    }
/// Receive a deserializable message type as soon as the next message is available.
///
/// This method is cancel safe, it will never partially read a message or drop received
/// messages.
Receive a deserializable message type as soon as the next message is available.
This method is cancel safe, it will never partially read a message or drop received
messages.
Receive a deserializable message type as soon as the next message is available . This method is cancel safe it will never partially read a message or drop received messages .
pub async fn recv<'a, T: Deserialize<'a>>(&'a mut self) -> Result<T, RecvError> {
        let bincode_config = self.bincode_config();
        let msg = self.channel.recv().await?;
        bincode_config
            .deserialize(msg)
            .map_err(RecvError::BincodeError)
    }
pub async fn recv < ' a , T : Deserialize < ' a > > ( & ' a mut self ) -> Result < T , RecvError > { let bincode_config = self . bincode_config ( ) ; let msg = self . channel . recv ( ) . await ? ; bincode_config . deserialize ( msg ) . map_err ( RecvError :: BincodeError ) }
Receive a deserializable message type as soon as the next message is available.
Receive a deserializable message type as soon as the next message is available .
&'a mut self
&'a mut self