pub fn try_recv<'b, T: Deserialize<'b>>(&'b mut self) -> Result<Option<T>> {
        if self.position.is_some() {
            Err(Error::AlreadyReceived)
        } else {
            Ok(
                if let Some((value, position)) = self.receiver.try_recv_0()? {
                    self.position = Some(position);
                    Some(value)
                } else {
                    None
                },
            )
        }
    }
/// Attempt to read a message without blocking.
///
/// This will return `Ok(None)` if there are no messages immediately available.  It will return
/// `Err(`[`Error::AlreadyReceived`](enum.Error.html#variant.AlreadyReceived)`))` if this instance has already
/// been used to read a message.
Attempt to read a message without blocking.
This will return `Ok(None)` if there are no messages immediately available.
Attempt to read a message without blocking . This will return ` Ok ( None ) ` if there are no messages immediately available .
pub fn try_recv<'b, T: Deserialize<'b>>(&'b mut self) -> Result<Option<T>> {
        if self.position.is_some() {
            Err(Error::AlreadyReceived)
        } else {
            Ok(
                if let Some((value, position)) = self.receiver.try_recv_0()? {
                    self.position = Some(position);
                    Some(value)
                } else {
                    None
                },
            )
        }
    }
pub fn try_recv < ' b , T : Deserialize < ' b > > ( & ' b mut self ) -> Result < Option < T > > { if self . position . is_some ( ) { Err ( Error :: AlreadyReceived ) } else { Ok ( if let Some ( ( value , position ) ) = self . receiver . try_recv_0 ( ) ? { self . position = Some ( position ) ; Some ( value ) } else { None } , ) } }
Attempt to read a message without blocking.
Attempt to read a message without blocking .
&'b mut self
&'b mut self