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 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

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

impl Eq for ParseError

impl PartialEq for ParseError

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

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