pub struct Dns {}

Trait Implementations

Formats the value using the given formatter. Read more

Returns ErrorKind::Incomplete if more data is needed. If part of the message was parsed successfully will attempt to return a partial message with an appropriate error_flags field indicating what went wrong.

Returns a tuple containing the remaining unparsed data and the parsed Message. Read more

Probes the input to recognize if the underlying bytes likely match this protocol. Read more

Type of message returned when parsing

Protocol name string

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.