?
This commit is contained in:
@@ -45,6 +45,18 @@ struct T002();
|
||||
#[async_trait::async_trait]
|
||||
impl Call for T002 {
|
||||
async fn call(&self) -> Result<(), Box<dyn std::error::Error>> {
|
||||
// let resp = reqwest::get("https://hatter.ink/ip/ip.jsonp").await?;
|
||||
// use std::io::Read;
|
||||
|
||||
// let mut buff = [0_u8; 1024];
|
||||
|
||||
// loop {
|
||||
// match resp.read(buff) {
|
||||
// Ok(_) => (),
|
||||
// Err(_) => (),
|
||||
// }
|
||||
// }
|
||||
|
||||
println!("Hello World 2");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user