Enum publicsuffix::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Io(Error), Url(ParseError), Tls(Error), Handshake(HandshakeError<TcpStream>), UnsupportedScheme, InvalidList, NoHost, InvalidHost, InvalidEmail, InvalidRule(String), InvalidDomain(String), Uts46(Errors), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
Url(ParseError)
Tls(Error)
Handshake(HandshakeError<TcpStream>)
UnsupportedScheme
InvalidList
NoHost
InvalidHost
InvalidEmail
InvalidRule(String)
InvalidDomain(String)
Uts46(Errors)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.