Enum url::ParseError [] [src]

pub enum ParseError {
    EmptyHost,
    InvalidScheme,
    InvalidPort,
    InvalidIpv4Address,
    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

Trait Implementations

impl Debug for ParseError
[src]

Formats the value using the given formatter.

impl Copy for ParseError
[src]

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ParseError
[src]

impl PartialEq for ParseError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for ParseError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for ParseError
[src]

Formats the value using the given formatter.