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

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

Trait Implementations

impl Error for ParseError

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

impl Display for ParseError

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

Derived Implementations

impl Debug for ParseError

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

impl Copy for ParseError

impl Clone for ParseError

fn clone(&self) -> ParseError

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

impl Eq for ParseError

impl PartialEq for ParseError

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

1.0.0fn ne(&self, other: &Rhs) -> bool