Enum url::ParseError [−][src]
pub enum ParseError {
EmptyHost,
IdnaError,
InvalidPort,
InvalidIpv4Address,
InvalidIpv6Address,
InvalidDomainCharacter,
RelativeUrlWithoutBase,
RelativeUrlWithCannotBeABaseBase,
SetHostOnCannotBeABaseUrl,
Overflow,
// some variants omitted
}
Expand description
Errors that can occur during parsing.
This may be extended in the future so exhaustive matching is discouraged with an unused variant.
Variants
EmptyHost
IdnaError
InvalidPort
InvalidIpv4Address
InvalidIpv6Address
InvalidDomainCharacter
RelativeUrlWithoutBase
RelativeUrlWithCannotBeABaseBase
SetHostOnCannotBeABaseUrl
Overflow
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
Mutably borrows from an owned value. Read more