pub enum Type {
Icann,
Private,
}Expand description
Which section of the Public Suffix List a rule comes from.
The ICANN section covers real registry TLDs; the PRIVATE section covers
suffixes delegated by private organizations (e.g. github.io,
s3.amazonaws.com). Browsers honor both for cookie scoping, but some
callers only care about the ICANN boundary — this lets you choose.
Variants§
Icann
A rule from the ICANN section of the list.
Private
A rule from the PRIVATE section of the list.
Trait Implementations§
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more