You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0599]: no functionor associated item named `connect_rtu` found fortype `tokio_modbus::Client`in the current scope
--> src/main.rs:25:16
|
25 |let task = Client::connect_rtu(port, server_addr, &handle).and_then(|client| {
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
The text was updated successfully, but these errors were encountered:
It looks like you are using tokio_modbusv0.1.0 that has a different API.
The current master branch should lead to v0.2.0 but first these issues should be closed:
main.rs
Cargo.toml
Results
The text was updated successfully, but these errors were encountered: