pub enum RR {
A(A),
AAAA(AAAA),
NS(NS),
Txt(Txt),
TLSA(TLSA),
CName(CName),
DName(DName),
DnsKey(DnsKey),
DS(DS),
RRSig(RRSig),
NSec(NSec),
NSec3(NSec3),
}Expand description
A supported Resource Record
Note that we only currently support a handful of RR types as needed to generate and validate TXT or TLSA record proofs.
Variants§
A(A)
An IPv4 resource record
AAAA(AAAA)
An IPv6 resource record
NS(NS)
A name server resource record
Txt(Txt)
A text resource record
TLSA(TLSA)
A TLS Certificate Association resource record
CName(CName)
A Canonical Name record
DName(DName)
A Delegation Name record
DnsKey(DnsKey)
A DNS (Public) Key resource record
DS(DS)
A Delegated Signer resource record
RRSig(RRSig)
A Resource Record Signature record
NSec(NSec)
A Next Secure Record record
NSec3(NSec3)
A Next Secure Record version 3 record
Implementations§
Trait Implementations§
Source§impl Ord for RR
impl Ord for RR
Source§impl PartialOrd for RR
impl PartialOrd for RR
Source§impl Record for RR
impl Record for RR
Source§fn write_u16_len_prefixed_data(&self, out: &mut Vec<u8>)
fn write_u16_len_prefixed_data(&self, out: &mut Vec<u8>)
Writes the data of this record, prefixed by a u16 length, to the given
Vec.impl Eq for RR
impl StructuralPartialEq for RR
Auto Trait Implementations§
impl Freeze for RR
impl RefUnwindSafe for RR
impl Send for RR
impl Sync for RR
impl Unpin for RR
impl UnwindSafe for RR
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