Enum url::ParseError
[−]
[src]
pub enum ParseError {
EmptyHost,
InvalidScheme,
InvalidPort,
InvalidIpv6Address,
InvalidDomainCharacter,
InvalidCharacter,
InvalidBackslash,
InvalidPercentEncoded,
InvalidAtSymbolInUser,
ExpectedTwoSlashes,
ExpectedInitialSlash,
NonUrlCodePoint,
RelativeUrlWithScheme,
RelativeUrlWithoutBase,
RelativeUrlWithNonRelativeBase,
NonAsciiDomainsNotSupportedYet,
CannotSetJavascriptFragment,
CannotSetPortWithFileLikeScheme,
CannotSetUsernameWithNonRelativeScheme,
CannotSetPasswordWithNonRelativeScheme,
CannotSetHostPortWithNonRelativeScheme,
CannotSetHostWithNonRelativeScheme,
CannotSetPortWithNonRelativeScheme,
CannotSetPathWithNonRelativeScheme,
}Errors that can occur during parsing.
Variants
EmptyHost | |
InvalidScheme | |
InvalidPort | |
InvalidIpv6Address | |
InvalidDomainCharacter | |
InvalidCharacter | |
InvalidBackslash | |
InvalidPercentEncoded | |
InvalidAtSymbolInUser | |
ExpectedTwoSlashes | |
ExpectedInitialSlash | |
NonUrlCodePoint | |
RelativeUrlWithScheme | |
RelativeUrlWithoutBase | |
RelativeUrlWithNonRelativeBase | |
NonAsciiDomainsNotSupportedYet | |
CannotSetJavascriptFragment | |
CannotSetPortWithFileLikeScheme | |
CannotSetUsernameWithNonRelativeScheme | |
CannotSetPasswordWithNonRelativeScheme | |
CannotSetHostPortWithNonRelativeScheme | |
CannotSetHostWithNonRelativeScheme | |
CannotSetPortWithNonRelativeScheme | |
CannotSetPathWithNonRelativeScheme |