Enum mdns::RecordKind
[−]
[src]
pub enum RecordKind { A(Ipv4Addr), AAAA(Ipv6Addr), CNAME(String), MX { preference: u16, exchange: String, }, NS(String), SRV { priority: u16, weight: u16, port: u16, target: String, }, TXT(String), PTR(String), Unimplemented(Vec<u8>), }
A specific DNS record variant.
Variants
A(Ipv4Addr)
AAAA(Ipv6Addr)
CNAME(String)
MX
Fields of MX
preference: u16 | |
exchange: String |
NS(String)
SRV
Fields of SRV
priority: u16 | |
weight: u16 | |
port: u16 | |
target: String |
TXT(String)
PTR(String)
Unimplemented(Vec<u8>)
A record kind that hasn't been implemented by this library yet.
Trait Implementations
impl Clone for RecordKind
[src]
fn clone(&self) -> RecordKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RecordKind
[src]
impl PartialEq for RecordKind
[src]
fn eq(&self, __arg_0: &RecordKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RecordKind) -> bool
[src]
This method tests for !=
.