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 From<ParseError> for ComposeError
[src]

Performs the conversion.

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. Read more

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]

This method is soft-deprecated. Read more

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

impl From<ParseError> for Error
[src]

Performs the conversion.

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more

impl From<ParseError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError