Struct trust_dns_resolver::lookup::Lookup[][src]

pub struct Lookup { /* fields omitted */ }

Result of a DNS query when querying for any record type supported by the TRust-DNS Proto library.

For IP resolution see LookupIp, as it has more features for A and AAAA lookups.

Methods

impl Lookup
[src]

Return new instance with given rdatas and the maximum TTL.

Return a new instance with the given rdatas and deadline.

Important traits for LookupIter<'a>

Returns a borrowed iterator of the returned IPs

Returns the Instant at which this Lookup is no longer valid.

Trait Implementations

impl Clone for Lookup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Lookup
[src]

Formats the value using the given formatter. Read more

impl Eq for Lookup
[src]

impl PartialEq for Lookup
[src]

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

This method tests for !=.

impl From<RData> for Lookup
[src]

Performs the conversion.

impl From<Lookup> for SrvLookup
[src]

Performs the conversion.

impl From<Lookup> for ReverseLookup
[src]

Performs the conversion.

impl From<Lookup> for Ipv4Lookup
[src]

Performs the conversion.

impl From<Lookup> for Ipv6Lookup
[src]

Performs the conversion.

impl From<Lookup> for MxLookup
[src]

Performs the conversion.

impl From<Lookup> for TxtLookup
[src]

Performs the conversion.

impl From<Lookup> for LookupIp
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Lookup

impl Sync for Lookup