Struct staticpublicsuffix::STATIC_SUFFIX_LIST []

pub struct STATIC_SUFFIX_LIST { /* fields omitted */ }

Methods from __Deref<Target = List>

Important traits for Vec<u8>
[src]

Gets a list of all ICANN domain suffices

Important traits for Vec<u8>
[src]

Gets a list of all private domain suffices

Important traits for Vec<u8>
[src]

Gets a list of all domain suffices

[src]

Parses a domain using the list

[src]

Parses a host using the list

A host, for the purposes of this library, is either an IP address or a domain name.

[src]

Extracts Host from a URL

[src]

Extracts Host from an email address

This method can also be used, simply to validate an email address. If it returns an error, the email address is not valid.

[src]

Parses any arbitrary string

Effectively this means that the string is either a URL, an email address or a host.

[src]

Parses any arbitrary string that can be used as a key in a DNS database

Trait Implementations

impl __Deref for STATIC_SUFFIX_LIST

The resulting type after dereferencing.

Dereferences the value.

impl LazyStatic for STATIC_SUFFIX_LIST

Auto Trait Implementations