pub async fn recv<S>(stream: &mut S) -> Result<Option<Message>>where S: Stream<Item = Result<Message, Error>> + Unpin,
The next protocol message on stream (a Relay, or its receiving half), or None once the relay closed the connection.
stream
Relay
None