diff --git a/examples/rtu-over-tcp-server.rs b/examples/rtu-over-tcp-server.rs index 084fbfa9..cf0e8e80 100644 --- a/examples/rtu-over-tcp-server.rs +++ b/examples/rtu-over-tcp-server.rs @@ -175,6 +175,7 @@ async fn client_context(socket_addr: SocketAddr) { println!("CLIENT: Writing 2 holding registers..."); ctx.write_multiple_registers(0x01, &[7777, 8888]) .await + .unwrap() .unwrap(); // Read back a block including the two registers we wrote. diff --git a/examples/tcp-server.rs b/examples/tcp-server.rs index 6ccdcacc..b109cb1f 100644 --- a/examples/tcp-server.rs +++ b/examples/tcp-server.rs @@ -175,6 +175,7 @@ async fn client_context(socket_addr: SocketAddr) { println!("CLIENT: Writing 2 holding registers..."); ctx.write_multiple_registers(0x01, &[7777, 8888]) .await + .unwrap() .unwrap(); // Read back a block including the two registers we wrote. diff --git a/examples/tls-server.rs b/examples/tls-server.rs index 779c154c..80f1faa3 100644 --- a/examples/tls-server.rs +++ b/examples/tls-server.rs @@ -278,6 +278,7 @@ async fn client_context(socket_addr: SocketAddr) { println!("CLIENT: Writing 2 holding registers..."); ctx.write_multiple_registers(0x01, &[7777, 8888]) .await + .unwrap() .unwrap(); // Read back a block including the two registers we wrote.