Enum public_ip::dns::QueryMethod [−][src]
pub enum QueryMethod {
A,
AAAA,
TXT,
}
dns-resolver
only.Expand description
Method used to query an IP address from a DNS server
Variants
A
The first queried A
name record is extracted as our IP address.
AAAA
The first queried AAAA
name record is extracted as our IP address.
TXT
The first TXT
record is extracted and parsed as our IP address.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QueryMethod
impl Send for QueryMethod
impl Sync for QueryMethod
impl Unpin for QueryMethod
impl UnwindSafe for QueryMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
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
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