pub fn recv<T>(&self) -> Result<T>
    where
        T: for<'de> Deserialize<'de>,
    {
        let (value, position) = self.recv_timeout_0(None)?.unwrap();

        self.seek(position)?;

        Ok(value)
    }
/// Attempt to read a message, blocking if necessary until one becomes available.
Attempt to read a message, blocking if necessary until one becomes available.
Attempt to read a message blocking if necessary until one becomes available .
pub fn recv<T>(&self) -> Result<T>
    where
        T: for<'de> Deserialize<'de>,
    {
        let (value, position) = self.recv_timeout_0(None)?.unwrap();
        self.seek(position)?;
        Ok(value)
    }
pub fn recv < T > ( & self ) -> Result < T > where T : for < ' de > Deserialize < ' de > , { let ( value , position ) = self . recv_timeout_0 ( None ) ? . unwrap ( ) ; self . seek ( position ) ? ; Ok ( value ) }
Attempt to read a message, blocking if necessary until one becomes available.
Attempt to read a message blocking if necessary until one becomes available .
&self
&self