Enum trust_dns::error::LexerErrorKind
[−]
pub enum LexerErrorKind { Msg(String), Proto(ProtoErrorKind), FromUtf8, ParseInt, IllegalCharacter(char), UnrecognizedChar(char), UnrecognizedOctet(u32), UnclosedQuotedString, UnclosedList, UnrecognizedDollar(String), EOF, IllegalState(&'static str), }
Variants
Msg(String)
Proto(ProtoErrorKind)
FromUtf8
ParseInt
IllegalCharacter(char)
UnrecognizedChar(char)
UnrecognizedOctet(u32)
UnclosedQuotedString
UnclosedList
UnrecognizedDollar(String)
EOF
IllegalState(&'static str)
Methods
impl ErrorKind
pub fn description(&self) -> &str
Trait Implementations
impl From<ErrorKind> for Error
impl Debug for ErrorKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for ErrorKind
impl From<ProtoErrorKind> for ErrorKind
fn from(e: ProtoErrorKind) -> Self
Performs the conversion.