Enum simple_dns::TYPE
source · [−]pub enum TYPE {
Show 19 variants
A,
AAAA,
NS,
MD,
MF,
CNAME,
SOA,
MB,
MG,
MR,
NULL,
WKS,
PTR,
HINFO,
MINFO,
MX,
TXT,
SRV,
Unknown(u16),
}
Expand description
Possible TYPE values in DNS Resource Records
Each value is described according to its own RFC
Variants
A
Host address, RFC 1035
AAAA
Host address (IPv6) rfc3596
NS
Authoritative name server, RFC 1035
MD
Mail destination (Obsolete - use MX), RFC 1035
MF
Mail forwarder (Obsolete - use MX), RFC 1035
CNAME
Canonical name for an alias, RFC 1035
SOA
Marks the start of a zone of authority, RFC 1035
MB
Mailbox domain name (EXPERIMENTAL), RFC 1035
MG
Mail group member (EXPERIMENTAL), RFC 1035
MR
Mail rename domain name (EXPERIMENTAL), RFC 1035
NULL
Null RR (EXPERIMENTAL), RFC 1035
WKS
Well known service description, RFC 1035
PTR
Domain name pointer, RFC 1035
HINFO
Host information, RFC 1035
MINFO
Mailbox or mail list information, RFC 1035
MX
Mail exchange, RFC 1035
TXT
Text strings, RFC 1035
SRV
SRV specifies the location of the server(s) for a specific protocol and domain. RFC 2780
Unknown(u16)
Unknown value, for future (or unimplemented RFC) compatibility
Trait Implementations
impl Copy for TYPE
impl Eq for TYPE
impl StructuralEq for TYPE
impl StructuralPartialEq for TYPE
Auto Trait Implementations
impl RefUnwindSafe for TYPE
impl Send for TYPE
impl Sync for TYPE
impl Unpin for TYPE
impl UnwindSafe for TYPE
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more