Enum ureq::ErrorKind [−][src]
pub enum ErrorKind { InvalidUrl, UnknownScheme, Dns, ConnectionFailed, TooManyRedirects, BadStatus, BadHeader, Io, InvalidProxyUrl, ProxyConnect, ProxyUnauthorized, HTTP, }
One of the types of error the can occur when processing a Request.
Variants
The url could not be understood.
The url scheme could not be understood.
DNS lookup failed.
Connection to server failed.
Too many redirects.
A status line we don’t understand HTTP/1.1 200 OK
.
A header line that couldn’t be parsed.
Some unspecified std::io::Error
.
Proxy information was not properly formatted
Proxy could not connect
Incorrect credentials for proxy
HTTP status code indicating an error (e.g. 4xx, 5xx) Read the inner response body for details and to return the connection to the pool.
Trait Implementations
impl StructuralPartialEq for ErrorKind
[src]
impl StructuralPartialEq for ErrorKind
[src]Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind