Enum cdns_rs::common::QDnsName [−][src]
Expand description
Variants
IpV4(&'temp Ipv4Addr)
Tuple Fields
0: &'temp Ipv4Addr
IpV6(&'temp Ipv6Addr)
Tuple Fields
0: &'temp Ipv6Addr
Name(&'temp str)
Tuple Fields
0: &'temp str
Implementations
Answers if current type is IpV4. But does not performs check if Name is an IP in str format
Answers if current type is IpV6. But does not performs check if Name is an IP in str format
Answers if current type is IpV4 or IpV6. But does not performs check if Name is an IP in str format
Returns the type of the IP address version in QType format.
Trait Implementations
Auto Trait Implementations
impl<'temp> RefUnwindSafe for QDnsName<'temp>
impl<'temp> UnwindSafe for QDnsName<'temp>
Blanket Implementations
Mutably borrows from an owned value. Read more