use hyper::{Body, Client, Response, StatusCode};
use std::error::Error;
#[tokio::main]
async fn aux() -> Result<Response<Body>, Box<dyn Error + Send + Sync>> {
let client = Client::new();
let uri = "http://httpbin.org/ip".parse()?;
let resp = client.get(uri).await?;
assert_eq!(resp.status(), StatusCode::from_u16(200).unwrap());
Ok(resp)
}
pub fn main() {
assert!(aux().is_ok());
}