Struct addr::DnsName [−][src]
pub struct DnsName { /* fields omitted */ }
Holds information about a particular DNS name
This is created by List::parse_dns_name
.
Methods
impl DnsName
[src]
impl DnsName
Trait Implementations
impl Debug for DnsName
[src]
impl Debug for DnsName
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 FromStr for DnsName
[src]
impl FromStr for DnsName
type Err = Error
The associated error which can be returned from parsing.
fn from_str(input: &str) -> Result<Self>
[src]
fn from_str(input: &str) -> Result<Self>
Parses a string s
to return a value of this type. Read more
impl Display for DnsName
[src]
impl Display for DnsName
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 DnsName
[src]
impl PartialEq for DnsName