Enum uriparse::authority::Host[][src]

pub enum Host<'host> {
    IPv4Address(Ipv4Addr),
    IPv6Address(Ipv6Addr),
    RegisteredName(RegisteredName<'host>),
}

Variants

Trait Implementations

impl<'host> Clone for Host<'host>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'host> Debug for Host<'host>
[src]

Formats the value using the given formatter. Read more

impl<'host> Eq for Host<'host>
[src]

impl<'host> Hash for Host<'host>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'host> PartialEq for Host<'host>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'host> Display for Host<'host>
[src]

Formats the value using the given formatter. Read more

impl From<IpAddr> for Host<'static>
[src]

Performs the conversion.

impl<'host> TryFrom<&'host [u8]> for Host<'host>
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'host> TryFrom<&'host str> for Host<'host>
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations

impl<'host> Send for Host<'host>

impl<'host> Sync for Host<'host>