pub async fn read_frontend_message<S>( stream: &mut S, ) -> Result<FrontendMessageType, Error>where S: AsyncRead + Unpin,