Struct addr::DomainName[][src]

pub struct DomainName<'a> { /* fields omitted */ }

Implementations

impl<'a> Name<'a>[src]

pub fn parse(name: &'a str) -> Result<Name<'a>>[src]

pub fn as_str(&self) -> &str[src]

pub fn root(&self) -> Option<&str>[src]

pub fn suffix(&self) -> &str[src]

pub fn has_known_suffix(&self) -> bool[src]

pub fn is_icann(&self) -> bool[src]

pub fn is_private(&self) -> bool[src]

Trait Implementations

impl<'a> Clone for Name<'a>[src]

impl<'a> Copy for Name<'a>[src]

impl<'a> Debug for Name<'a>[src]

impl Display for Name<'_>[src]

impl<'a> Eq for Name<'a>[src]

impl<'a> Hash for Name<'a>[src]

impl<'a> Ord for Name<'a>[src]

impl<'a> PartialEq<Name<'a>> for Name<'a>[src]

impl<'a> PartialOrd<Name<'a>> for Name<'a>[src]

impl<'a> StructuralEq for Name<'a>[src]

impl<'a> StructuralPartialEq for Name<'a>[src]

Auto Trait Implementations

impl<'a> Send for Name<'a>

impl<'a> Sync for Name<'a>

impl<'a> Unpin for Name<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.