pub enum DnsRecordType {
A,
AAAA,
CNAME,
MX,
TXT,
NS,
SOA,
SRV,
PTR,
CAA,
Unknown,
}Expand description
Supported DNS record types for small helper routines.
Variants§
A
IPv4 address record.
AAAA
IPv6 address record.
CNAME
Canonical name record.
MX
Mail exchanger record.
TXT
Text record.
NS
Name server record.
SOA
Start of authority record.
SRV
Service locator record.
PTR
Pointer record.
CAA
Certification authority authorization record.
Unknown
Unknown or unsupported record type.
Trait Implementations§
Source§impl Clone for DnsRecordType
impl Clone for DnsRecordType
Source§fn clone(&self) -> DnsRecordType
fn clone(&self) -> DnsRecordType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DnsRecordType
impl Debug for DnsRecordType
Source§impl PartialEq for DnsRecordType
impl PartialEq for DnsRecordType
Source§fn eq(&self, other: &DnsRecordType) -> bool
fn eq(&self, other: &DnsRecordType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DnsRecordType
impl Eq for DnsRecordType
impl StructuralPartialEq for DnsRecordType
Auto Trait Implementations§
impl Freeze for DnsRecordType
impl RefUnwindSafe for DnsRecordType
impl Send for DnsRecordType
impl Sync for DnsRecordType
impl Unpin for DnsRecordType
impl UnsafeUnpin for DnsRecordType
impl UnwindSafe for DnsRecordType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more