蓝色牧客

Results 1 comments of 蓝色牧客

tokio::select! { result = ctx.read_holding_registers(3,12) => match result { Ok(v) => println!("Reading holding {:?}", v), Err(_) => println!("Reading holding err"), }, _ = tokio::time::sleep(std::time::Duration::from_millis(100)) => println!("reading timeout 100 ms"), }