Struct addr::DomainName [−][src]
pub struct DomainName { /* fields omitted */ }
Methods
impl DomainName
[src]
impl DomainName
Trait Implementations
impl FromStr for DomainName
[src]
impl FromStr for DomainName
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 DomainName
[src]
impl Display for DomainName
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 DomainName
[src]
impl PartialEq for DomainName
fn eq(&self, other: &DomainName) -> bool
[src]
fn eq(&self, other: &DomainName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for DomainName
[src]
impl Eq for DomainName
impl PartialOrd for DomainName
[src]
impl PartialOrd for DomainName
fn partial_cmp(&self, other: &DomainName) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &DomainName) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for DomainName
[src]
impl Ord for DomainName
fn cmp(&self, other: &DomainName) -> Ordering
[src]
fn cmp(&self, other: &DomainName) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for DomainName
[src]
impl Hash for DomainName
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for DomainName
[src]
impl Debug for DomainName
Auto Trait Implementations
impl Send for DomainName
impl Send for DomainName
impl Sync for DomainName
impl Sync for DomainName