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
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any.
impl Display for ParseError
[src]
impl From<Errors> for ParseError
[src]
fn from(_: Errors) -> ParseError
Performs the conversion.
Derived Implementations
impl Debug for ParseError
[src]
impl Copy for ParseError
[src]
impl Clone for ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more