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(Vec<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(Vec<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]
impl Clone for RecordKind
fn clone(&self) -> RecordKind
[src]
fn clone(&self) -> RecordKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RecordKind
[src]
impl Debug for RecordKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RecordKind
[src]
impl PartialEq for RecordKind
fn eq(&self, other: &RecordKind) -> bool
[src]
fn eq(&self, other: &RecordKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RecordKind) -> bool
[src]
fn ne(&self, other: &RecordKind) -> bool
This method tests for !=
.
impl Eq for RecordKind
[src]
impl Eq for RecordKind
Auto Trait Implementations
impl Send for RecordKind
impl Send for RecordKind
impl Sync for RecordKind
impl Sync for RecordKind