LXI protocol abstractions for Tokio with async
/.await
support.
```rust use tokio;
use tokio_lxi::LxiDevice;
async fn main() -> Result<(), tokio_lxi::Error> { let addr = "10.0.0.9:5025".parse().unwrap(); let mut device = LxiDevice::connect(&addr).await?; device.send("*IDN?").await?; let reply = device.receive().await?; println!("{}", reply);
Ok(())
} ```
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.