Enum simple_dns::rdata::RData
source · pub enum RData<'a> {
Show 27 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>),
NSAP(NSAP),
NSAP_PTR(NSAP_PTR<'a>),
LOC(LOC),
OPT(OPT<'a>),
CAA(CAA<'a>),
NULL(u16, NULL<'a>),
}
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>)
NSAP(NSAP)
NSAP_PTR(NSAP_PTR<'a>)
LOC(LOC)
OPT(OPT<'a>)
CAA(CAA<'a>)
NULL(u16, NULL<'a>)
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for RData<'a>
impl<'a> PartialEq for RData<'a>
impl<'a> Eq for RData<'a>
impl<'a> StructuralEq for RData<'a>
impl<'a> StructuralPartialEq for RData<'a>
Auto Trait Implementations§
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