Enum domain::bits::parse::ParseError [] [src]

pub enum ParseError {
    UnexpectedEnd,
    UnknownLabel,
    FormErr,
}

An error happening during parsing of wire-format DNS data.

Variants

The raw data ended unexpectedly in the middle of a structure.

An unknown label type was encountered in a domain name.

Several possible values for label types are not currently assigned (and likely never will). This is fatal since the label type defines how a label is parsed.

A format error was encountered.

Trait Implementations

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ParseError
[src]

Formats the value using the given formatter.

impl PartialEq for ParseError
[src]

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

This method tests for !=.

impl Error for ParseError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more