Enum zicsv::Address [] [src]

pub enum Address {
    IPv4(Ipv4Addr),
    IPv4Network(Ipv4Net),
    DomainName(String),
    WildcardDomainName(String),
    URL(Url),
    // some variants omitted
}

Internet address blocked by Roskomnadzor.

Variants

Blocked by IPv4 address.

Blocked by IPv4 subnet.

Blocked by domain name. Lowercase, in IDN format (punicode encoded if necessary).

Blocked by wildcard domain name. Lowercase, in IDN format (punicode encoded if necessary).

Blocked by URL.

Methods

impl Address
[src]

[src]

Parse IPv4 address from string.

[src]

Parse IPv4 network from string.

[src]

Parse domain name from string.

[src]

Parse wildcard domain name from string.

[src]

Parse URL from string.

Trait Implementations

impl Clone for Address
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Address
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Address
[src]

impl Hash for Address
[src]

[src]

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

1.3.0
[src]

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

impl Ord for Address
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialEq for Address
[src]

[src]

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

[src]

This method tests for !=.

impl PartialOrd for Address
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a> From<&'a Address> for String
[src]

[src]

Performs the conversion.

impl Display for Address
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Address
[src]

The associated error which can be returned from parsing.

[src]

Automatically detect type of address and parse it from string.

Auto Trait Implementations

impl Send for Address

impl Sync for Address