We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3176718 commit 3e0d8d6Copy full SHA for 3e0d8d6
CHANGELOG.md
@@ -3,6 +3,27 @@
3
4
# Changelog
5
6
+## v0.12.0 (unreleased)
7
+
8
+- Client: Add new Modbus `Client` API.
9
+- Client: Add `Result` type alias.
10
11
+```
12
+pub type Result<T> = Result<Result<T, Exception>, std::io::Error>
13
14
15
+- Example: Update all examples with new `Client` API.
16
17
+### Breaking Changes
18
19
+- Client: All the functions signatures in `Client`, `Reader` and `Writer` traits have changed the return type.
20
21
+ ```diff
22
+ async fn read_coils(&mut self, _: Address, _: Quantity)
23
+ - -> Result<Vec<Coil>, std::io::Error>;
24
+ + -> Result<Result<Vec<Coil>, Exception>, std::io::Error>;
25
+ ```
26
27
## v0.11.0 (2024-01-28)
28
29
- Server: Remove `Sync` and `Unpin` trait bounds from `Service::call()` future
0 commit comments