Skip to content

Commit

Permalink
fix: Re-add Send + Sync for ProtocolError
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsvante authored and bikeshedder committed Oct 26, 2024
1 parent c26f479 commit d923e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<dyn Error>),
Protocol(Box<dyn Error + Send + Sync>),
/// I/O error
#[error("I/O error")]
IO(#[from] std::io::Error),
Expand Down

0 comments on commit d923e2a

Please sign in to comment.