pub async fn read_frame_with_timeout<R>( stream: &mut R, frame_timeout: Duration, ) -> Result<Frame, WireError>where R: AsyncRead + Unpin,