Enum url::ParseError [] [src]

pub enum ParseError {
    EmptyHost,
    IdnaError,
    InvalidPort,
    InvalidIpv4Address,
    InvalidIpv6Address,
    InvalidDomainCharacter,
    RelativeUrlWithoutBase,
    RelativeUrlWithCannotBeABaseBase,
    SetHostOnCannotBeABaseUrl,
    Overflow,
}

Errors that can occur during parsing.

Variants

EmptyHost
IdnaError
InvalidPort
InvalidIpv4Address
InvalidIpv6Address
InvalidDomainCharacter
RelativeUrlWithoutBase
RelativeUrlWithCannotBeABaseBase
SetHostOnCannotBeABaseUrl
Overflow

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

impl From<Errors> for ParseError

fn from(_: Errors) -> ParseError

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