tokio-lxi

Crates.io Docs.rs Travis CI Appveyor Codecov.io License

LXI protocol abstractions for Tokio with async/.await support.

Example

```rust use tokio;

use tokio_lxi::LxiDevice;

[tokio::main]

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

} ```

License

Licensed under either of

at your option.

Contribution

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.