Enum modbus::Error
[−]
[src]
pub enum Error { Exception(ExceptionCode), Io(Error), InvalidResponse, InvalidData(Reason), InvalidFunction, ParseCoilError, }
Combination of Modbus, IO and data corruption errors
Variants
Exception(ExceptionCode)
Io(Error)
InvalidResponse
InvalidData(Reason)
InvalidFunction
ParseCoilError
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<ExceptionCode> for Error
[src]
fn from(err: ExceptionCode) -> Error
Performs the conversion.