Enum url::ParseError [-]  [+] [src]

pub enum ParseError {
    EmptyHost,
    InvalidScheme,
    InvalidPort,
    InvalidIpv6Address,
    InvalidDomainCharacter,
    InvalidCharacter,
    InvalidBackslash,
    InvalidPercentEncoded,
    InvalidAtSymbolInUser,
    ExpectedTwoSlashes,
    ExpectedInitialSlash,
    NonUrlCodePoint,
    RelativeUrlWithScheme,
    RelativeUrlWithoutBase,
    RelativeUrlWithNonRelativeBase,
    NonAsciiDomainsNotSupportedYet,
    CannotSetFileScheme(&'static str),
    CannotSetJavascriptScheme(&'static str),
    CannotSetNonRelativeScheme(&'static str),
}

Errors that can occur during parsing.

Variants

EmptyHost
InvalidScheme
InvalidPort
InvalidIpv6Address
InvalidDomainCharacter
InvalidCharacter
InvalidBackslash
InvalidPercentEncoded
InvalidAtSymbolInUser
ExpectedTwoSlashes
ExpectedInitialSlash
NonUrlCodePoint
RelativeUrlWithScheme
RelativeUrlWithoutBase
RelativeUrlWithNonRelativeBase
NonAsciiDomainsNotSupportedYet
CannotSetFileScheme
CannotSetJavascriptScheme
CannotSetNonRelativeScheme

Trait Implementations

impl Show for ParseError

fn fmt(&self, fmt: &mut Formatter) -> Result<(), FormatError>

Derived Implementations

impl Clone for ParseError

fn clone(&self) -> ParseError

fn clone_from(&mut self, source: &Self)

impl Eq for ParseError

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ParseError

fn eq(&self, __arg_0: &ParseError) -> bool

fn ne(&self, __arg_0: &ParseError) -> bool