Comments (4)
I'll look into this in a bit. If you could, try running the program with gdb to debug the variable that overflows.
from rsquery.
Alright so I've started looking into this issue, but with my tests I can't reproduce this overflow. Can you send me as much information as possible to reproduce it? As well as your code is a bit weird in that it gives the trait of tokio main to another function while still having a main symbol, so I corrected it to
use std::io::Result;
use rsquery::*;
#[tokio::main]
async fn main() -> Result<()> {
let client = Client::new("dcfac.us.to:19132").await?;
let data = client.long_query().await?;
println!("{:?}", data);
Ok(())
}
from rsquery.
Sorry for late my responds.
I think this is my server-software-side issue.
When changed address, it's worked.
Code
use std::io::Result;
use rsquery::*;
#[tokio::main]
async fn main() -> Result<()> {
let client = Client::new("play.elementx.jp:19132").await?;
let data = client.long_query().await?;
println!("{:?}", data);
Ok(())
}
Error
PS D:\Repository\RSQueryTest> cargo run
Compiling RSQueryTest v0.1.0 (D:\Repository\RSQueryTest)
warning: crate `RSQueryTest` should have a snake case name
|
= note: `#[warn(non_snake_case)]` on by default
= help: convert the identifier to snake case: `rsquery_test`
warning: `RSQueryTest` (bin "RSQueryTest") generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 1.16s
Running `target\debug\RSQueryTest.exe`
thread 'main' panicked at 'Unable to decode value string: Utf8Error { valid_up_to: 0, error_len: Some(1) }', C:\Users\atrium\.cargo\registry\src\github.com-1ecc6299db9ec823\rsquery-0.1.1\src\lib.rs:222:60
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\RSQueryTest.exe` (exit code: 101)
from rsquery.
Thank you for taking the time to do this!
from rsquery.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rsquery.