Enum trust_dns::error::ParseErrorKind []

pub enum ParseErrorKind {
    Msg(String),
    Proto(ProtoErrorKind),
    Lexer(ErrorKind),
    DataEncoding,
    Io,
    ParseInt,
    AddrParse,
    Message(&'static str),
    UnexpectedToken(Token),
    MissingToken(String),
    CharToIntError(char),
    ParseTimeError(String),
}

Variants

Methods

impl ErrorKind

Trait Implementations

impl From<ErrorKind> for Error

Performs the conversion.

impl Debug for ErrorKind

Formats the value using the given formatter. Read more

impl Display for ErrorKind

Formats the value using the given formatter. Read more

impl From<ProtoErrorKind> for ErrorKind

Performs the conversion.

impl From<ErrorKind> for ErrorKind

Performs the conversion.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

Auto Trait Implementations