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

Trait Implementations

impl Error for ParseError

fn description(&self) -> &str

fn detail(&self) -> Option<String>

fn cause(&self) -> Option<&Error + 'static>

impl String for ParseError

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

Derived Implementations

impl Show for ParseError

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

impl Copy for ParseError

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