Enum cdns_rs::query::QDnsQueriesRes [−][src]
Expand description
The result enum.
Variants
DnsOk
Received results
DnsNotAvailable
All nameservers did not respond
Implementations
Unwraps the results without panics.
Checks if the received result contains any results. It does not check if results were successfull. It just answers on question if any DNS server responded or record in local databases was found.
This function tells how many responses it contains. If Self is QDnsQueriesRes::DnsNotAvailable then 0 will be returned.
This function returns the results if any.
Trait Implementations
Performs the conversion.