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

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<ExceptionCode> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.