Enum reqwest::UrlError []

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

Errors that can occur during parsing.

Variants

Trait Implementations

impl From<Errors> for ParseError

Performs the conversion.

impl Display for ParseError

Formats the value using the given formatter. Read more

impl Clone for ParseError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ParseError

impl PartialEq<ParseError> for ParseError

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ParseError

Formats the value using the given formatter.

impl Eq for ParseError

impl Error for ParseError

A short description of the error. Read more

The lower-level cause of this error, if any. Read more