Enum modbus::Reason [] [src]

pub enum Reason {
    UnexpectedReplySize,
    BytecountNotEven,
    SendBufferEmpty,
    RecvBufferEmpty,
    SendBufferTooBig,
    DecodingError,
    EncodingError,
    InvalidByteorder,
    Custom(String),
}

InvalidData reasons

Variants

Trait Implementations

impl Debug for Reason
[src]

Formats the value using the given formatter.