Enum hdlc::HDLCError [−][src]
pub enum HDLCError { DuplicateSpecialChar, FendCharInData, MissingTradeChar, MissingFirstFend, MissingFinalFend, }
Common error for HDLC actions.
Variants
DuplicateSpecialChar
Catches duplicate special characters.
FendCharInData
Catches a random sync char in the data.
MissingTradeChar
Catches a random swap char, fesc
, in the data with no tfend
or tfesc
.
MissingFirstFend
No first fend on the message.
MissingFinalFend
No final fend on the message.
Trait Implementations
impl Debug for HDLCError
[src]
impl Debug for HDLCError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for HDLCError
[src]
impl PartialEq for HDLCError