Trait publicsuffix::Psl [−][src]
A list of all public suffixes
Required methods
pub fn find<'a, T>(&self, labels: T) -> Info where
T: Iterator<Item = &'a [u8]>,
[src]
T: Iterator<Item = &'a [u8]>,
Finds the suffix information of the given input labels
Provided methods
pub fn suffix(&self, name: &'a [u8]) -> Option<Suffix<'a>>
[src]
Get the public suffix of the domain
NB: name
must be a valid domain name in lowercase
pub fn domain(&self, name: &'a [u8]) -> Option<Domain<'a>>
[src]
Get the registrable domain
NB: name
must be a valid domain name in lowercase
Implementations on Foreign Types
impl<'_, L> List for &'_ L where
L: List,
[src]
Loading content...L: List,