Enum reqwest::UrlError
[−]
[src]
pub enum UrlError {
EmptyHost,
IdnaError,
InvalidPort,
InvalidIpv4Address,
InvalidIpv6Address,
InvalidDomainCharacter,
RelativeUrlWithoutBase,
RelativeUrlWithCannotBeABaseBase,
SetHostOnCannotBeABaseUrl,
Overflow,
}Errors that can occur during parsing.
Variants
EmptyHostIdnaErrorInvalidPortInvalidIpv4AddressInvalidIpv6AddressInvalidDomainCharacterRelativeUrlWithoutBaseRelativeUrlWithCannotBeABaseBaseSetHostOnCannotBeABaseUrlOverflowTrait 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. Read more
impl PartialEq<ParseError> for ParseError[src]
fn eq(&self, __arg_0: &ParseError) -> bool
impl Eq for ParseError[src]
impl From<Errors> for ParseError[src]
fn from(Errors) -> ParseError
Performs the conversion.
impl Debug for ParseError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.