Enum trust_dns::error::ParseErrorKind[][src]

pub enum ParseErrorKind {
    CharToInt(char),
    Message(&'static str),
    MissingToken(String),
    Msg(String),
    ParseTime(String),
    UnexpectedToken(Token),
    AddrParse,
    DataEncoding,
    Io,
    Lexer,
    ParseInt,
    Proto,
    Timeout,
}

The error kind for parse errors that get returned in the crate

Variants

An invalid numerical character was found

An error with an arbitrary message, referenced as &'static str

A token is missing

An error with an arbitrary message, stored as String

A time string could not be parsed

Found an unexpected token in a stream

An address parse error

A data encoding error

An error got returned from IO

An error from the lexer

A number parsing error

An error got returned by the trust-dns-proto crate

A request timed out

Trait Implementations

impl Eq for ErrorKind
[src]

impl PartialEq for ErrorKind
[src]

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

This method tests for !=.

impl Debug for ErrorKind
[src]

Formats the value using the given formatter. Read more

impl Clone for ErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<ErrorKind> for Error
[src]

Performs the conversion.

Auto Trait Implementations