This commit is contained in:
2020-05-03 13:23:16 +08:00
parent 6776ea7b5a
commit dc549fa4dc

View File

@@ -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(())
}