pub enum RData<'a> {
Show 31 variants
A(A),
AAAA(AAAA),
NS(NS<'a>),
MD(MD<'a>),
CNAME(CNAME<'a>),
MB(MB<'a>),
MG(MG<'a>),
MR(MR<'a>),
PTR(PTR<'a>),
MF(MF<'a>),
HINFO(HINFO<'a>),
MINFO(MINFO<'a>),
MX(MX<'a>),
TXT(TXT<'a>),
SOA(SOA<'a>),
WKS(WKS<'a>),
SRV(SRV<'a>),
RP(RP<'a>),
AFSDB(AFSDB<'a>),
ISDN(ISDN<'a>),
RouteThrough(RouteThrough<'a>),
NAPTR(NAPTR<'a>),
NSAP(NSAP),
NSAP_PTR(NSAP_PTR<'a>),
LOC(LOC),
OPT(OPT<'a>),
CAA(CAA<'a>),
SVCB(SVCB<'a>),
HTTPS(HTTPS<'a>),
NULL(u16, NULL<'a>),
Empty(TYPE),
}
Expand description
Represents the RData of each TYPE
Variants§
A(A)
AAAA(AAAA)
NS(NS<'a>)
MD(MD<'a>)
CNAME(CNAME<'a>)
MB(MB<'a>)
MG(MG<'a>)
MR(MR<'a>)
PTR(PTR<'a>)
MF(MF<'a>)
HINFO(HINFO<'a>)
MINFO(MINFO<'a>)
MX(MX<'a>)
TXT(TXT<'a>)
SOA(SOA<'a>)
WKS(WKS<'a>)
SRV(SRV<'a>)
RP(RP<'a>)
AFSDB(AFSDB<'a>)
ISDN(ISDN<'a>)
RouteThrough(RouteThrough<'a>)
NAPTR(NAPTR<'a>)
NSAP(NSAP)
NSAP_PTR(NSAP_PTR<'a>)
LOC(LOC)
OPT(OPT<'a>)
CAA(CAA<'a>)
SVCB(SVCB<'a>)
HTTPS(HTTPS<'a>)
NULL(u16, NULL<'a>)
Empty(TYPE)
Implementations§
Trait Implementations§
impl<'a> Eq for RData<'a>
impl<'a> StructuralPartialEq for RData<'a>
Auto Trait Implementations§
impl<'a> Freeze for RData<'a>
impl<'a> RefUnwindSafe for RData<'a>
impl<'a> Send for RData<'a>
impl<'a> Sync for RData<'a>
impl<'a> Unpin for RData<'a>
impl<'a> UnwindSafe for RData<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)