pub trait Psl {
// Required method
fn find<'a, T>(&self, labels: T) -> Info
where T: Iterator<Item = &'a [u8]>;
// Provided methods
fn suffix<'a>(&self, name: &'a [u8]) -> Option<Suffix<'a>> { ... }
fn domain<'a>(&self, name: &'a [u8]) -> Option<Domain<'a>> { ... }
}
Expand description
A list of all public suffixes
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.