pub async fn recv_message<R, M>(
reader: &mut FramedRead<R, LengthDelimitedCodec>,
) -> Result<M, Error>Expand description
Read and deserialize a JSON message from a framed reader.
Returns Error::ProcessExited when the stream reaches EOF.
pub async fn recv_message<R, M>(
reader: &mut FramedRead<R, LengthDelimitedCodec>,
) -> Result<M, Error>Read and deserialize a JSON message from a framed reader.
Returns Error::ProcessExited when the stream reaches EOF.