From 74d1bcbe89b36f949d86c1eb649144da463b353f Mon Sep 17 00:00:00 2001 From: Jacob Magnusson Date: Sat, 26 Oct 2024 09:00:43 +0200 Subject: [PATCH] fix: Re-add Send + Sync for ProtocolError --- src/client/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/error.rs b/src/client/error.rs index 2c007a2..9f93a1a 100644 --- a/src/client/error.rs +++ b/src/client/error.rs @@ -14,7 +14,7 @@ pub enum ModbusError { /// The requested device does not implement modbus correctly and the /// underlying modbus implementation reported an error. #[error(transparent)] - Protocol(Box), + Protocol(Box), /// I/O error #[error("I/O error")] IO(#[from] std::io::Error),