Enum validators::host::Host[][src]

pub enum Host {
    Domain(Domain),
    IPv4(IPv4),
    IPv6(IPv6),
}

Variants

Methods

impl Host
[src]

Trait Implementations

impl Clone for Host
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Validated for Host
[src]

impl Debug for Host
[src]

Formats the value using the given formatter. Read more

impl Display for Host
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Host
[src]

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

This method tests for !=.

impl From<HostLocalable> for Host
[src]

Performs the conversion.

impl PartialEq<Host> for HostLocalable
[src]

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

This method tests for !=.

impl From<HostUnlocalable> for Host
[src]

Performs the conversion.

impl PartialEq<Host> for HostUnlocalable
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Host

impl Sync for Host