Struct rustdns::Resolver[][src]

pub struct Resolver<E = UdpClient> { /* fields omitted */ }

Implementations

Creates a new Resolver using the system’s default DNS server.

Creates a new Resolver using the system’s default DNS server.

Resolves a name into one or more IP address. See rfc1035#section-7 and rfc1034#section-5.

Trait Implementations

Returns the “default value” for a type. Read more

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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more