Enum modbus_protocol::exception_code::Error [−][src]
pub enum Error {
Exception(ExceptionCode),
Io(Error),
InvalidResponse,
InvalidData(Reason),
InvalidFunction,
ParseCoilError,
}
Expand description
Combination of Modbus, IO and data corruption errors
Variants
Tuple Fields of Exception
Tuple Fields of Io
0: Error
Tuple Fields of InvalidData
0: Reason
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.