pub struct List;Expand description
A static public suffix list
Trait Implementations§
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnsafeUnpin for List
impl UnwindSafe for List
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
Source§impl<T> DomainName for Twhere
T: List,
impl<T> DomainName for Twhere
T: List,
Source§fn parse_domain_name<'a>(&self, name: &'a str) -> Result<Name<'a>, Error<'a>>
fn parse_domain_name<'a>(&self, name: &'a str) -> Result<Name<'a>, Error<'a>>
This method tries to stick to restrictions usually imposed by domain registries
when registering domain names. If your input can potentially include additional
characters allowed in DNS labels, like underscores, use
parse_dns_name instead.