Enum fluent_uri::ParseErrorKind
source · pub enum ParseErrorKind {
InvalidOctet,
UnexpectedChar,
InvalidIpLiteral,
}
Expand description
Detailed cause of a ParseError
.
Variants§
InvalidOctet
Invalid percent-encoded octet that is either non-hexadecimal or incomplete.
The error index points to the percent character “%” of the octet.
UnexpectedChar
Unexpected character that is not allowed by the URI syntax.
The error index points to the character.
InvalidIpLiteral
Invalid IP literal address.
The error index points to the preceding left square bracket “[”.
Trait Implementations§
source§impl Clone for ParseErrorKind
impl Clone for ParseErrorKind
source§fn clone(&self) -> ParseErrorKind
fn clone(&self) -> ParseErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParseErrorKind
impl Debug for ParseErrorKind
source§impl PartialEq<ParseErrorKind> for ParseErrorKind
impl PartialEq<ParseErrorKind> for ParseErrorKind
source§fn eq(&self, other: &ParseErrorKind) -> bool
fn eq(&self, other: &ParseErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.