Enum mail_auth::IpLookupStrategy
source · pub enum IpLookupStrategy {
Ipv4Only,
Ipv6Only,
Ipv6thenIpv4,
Ipv4thenIpv6,
}Variants§
Ipv4Only
Only query for A (Ipv4) records
Ipv6Only
Only query for AAAA (Ipv6) records
Ipv6thenIpv4
Query for A and AAAA in parallel Query for Ipv6 if that fails, query for Ipv4
Ipv4thenIpv6
Query for Ipv4 if that fails, query for Ipv6 (default)
Trait Implementations§
source§impl Clone for IpLookupStrategy
impl Clone for IpLookupStrategy
source§fn clone(&self) -> IpLookupStrategy
fn clone(&self) -> IpLookupStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IpLookupStrategy
impl Debug for IpLookupStrategy
source§impl Default for IpLookupStrategy
impl Default for IpLookupStrategy
source§fn default() -> IpLookupStrategy
fn default() -> IpLookupStrategy
Returns the “default value” for a type. Read more