pub async fn deserialize_from_stream( reader: &mut OwnedReadHalf, ) -> Result<WrappedServerMessage, NanoServiceError>
Deserializes a server message from a stream of bytes.
reader
the deserialized server message