Enum rdftk_iri::error::ErrorKind [−][src]
pub enum ErrorKind {}Show variants
Msg(String), IsEmpty, ParseSchemeError(String), ParseAuthorityError(String), ParseIpAddressError(String), ParseHostError(String), ParsePortError(String), ParseUserInfoError(String), ParseFragmentError(String), Normalization(Component), InvalidChar(Component), Syntax(String), NotValidBase, EmptyPrefixedName, InvalidPrefixedName(String), // some variants omitted
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
An IRI cannot be constructed from the empty string.
ParseSchemeError(String)
An error occurred parsing the IRI scheme.
ParseAuthorityError(String)
An error occurred parsing the IRI authority.
ParseIpAddressError(String)
An error occurred parsing the IRI IP address name.
ParseHostError(String)
An error occurred parsing the IRI host name.
ParsePortError(String)
An error occurred parsing the IRI port number.
ParseUserInfoError(String)
An error occurred parsing the IRI user info.
ParseFragmentError(String)
An error occurred parsing the IRI fragment.
Normalization(Component)
An error occurred normalizing an IRI component.
InvalidChar(Component)
An invalid character was found.
Syntax(String)
Provided String value is not a valid IRI.
The current IRI is not a valid base URI (RFC-3986§5.2.1).
A PrefixedName may not have an empty name part.
InvalidPrefixedName(String)
The String value provided is not a valid PrefixedName.
Implementations
impl ErrorKind
[src]
impl ErrorKind
[src]pub fn description(&self) -> &str
[src]
A string describing the error kind.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind