Enum trust_dns::error::LexerError [] [src]

pub enum LexerError {
    ParseUtf8Error(FromUtf8Error),
    EscapedCharOutsideCharData,
    IllegalCharacter(char),
    UnrecognizedChar(char),
    BadEscapedData(String),
    UnrecognizedOctet(u32),
    ParseIntError(ParseIntError),
    UnclosedQuotedString,
    UnclosedList,
    UnrecognizedDollar(String),
    EOF,
    IllegalState(&'static str),
}

Variants

ParseUtf8Error
EscapedCharOutsideCharData
IllegalCharacter
UnrecognizedChar
BadEscapedData
UnrecognizedOctet
ParseIntError
UnclosedQuotedString
UnclosedList
UnrecognizedDollar
EOF
IllegalState

Trait Implementations

impl Debug for LexerError

fn fmt(&self, f: &mut Formatter) -> Result

impl Display for LexerError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for LexerError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl From<FromUtf8Error> for LexerError

fn from(err: FromUtf8Error) -> LexerError

impl From<ParseIntError> for LexerError

fn from(err: ParseIntError) -> LexerError