Enum hdlc::HDLCError[][src]

pub enum HDLCError {
    DuplicateSpecialChar,
    FendCharInData,
    MissingTradeChar,
    MissingFirstFend,
    MissingFinalFend,
}

Common error for HDLC actions.

Variants

Catches duplicate special characters.

Catches a random sync char in the data.

Catches a random swap char, fesc, in the data with no tfend or tfesc.

No first fend on the message.

No final fend on the message.

Trait Implementations

impl Debug for HDLCError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for HDLCError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for HDLCError

impl Sync for HDLCError