Enum rustdns::Resource [−][src]
pub enum Resource {
A(A),
AAAA(AAAA),
CNAME(CNAME),
NS(NS),
PTR(PTR),
TXT(TXT),
SPF(TXT),
MX(MX),
SOA(SOA),
SRV(SRV),
OPT,
ANY,
}
Expand description
Recource Record Definitions.
Variants
A(A)
Tuple Fields
0: A
AAAA(AAAA)
Tuple Fields
0: AAAA
CNAME(CNAME)
Tuple Fields
0: CNAME
NS(NS)
Tuple Fields
0: NS
PTR(PTR)
Tuple Fields
0: PTR
TXT(TXT)
Tuple Fields
0: TXT
SPF(TXT)
Tuple Fields
0: TXT
MX(MX)
Tuple Fields
0: MX
SOA(SOA)
Tuple Fields
0: SOA
SRV(SRV)
Tuple Fields
0: SRV
OPT
ANY
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Resource
impl UnwindSafe for Resource
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more