Function psl::get
[−]
[src]
pub fn get<'a>() -> ListGuard<'a>
Gets an instance of the list from the cache
ListGuard derefs into publicsuffix::List
so you can call the
list methods directly.
Example
let domain = psl::get().parse_domain("example.com")?;