[−][src]Enum isahc::Error
All possible types of errors that can be returned from Isahc.
Variants
The request was aborted before it could be completed.
A problem occurred with the local certificate.
The server certificate could not be validated.
Failed to connect to the server.
Couldn't resolve host name.
Couldn't resolve proxy host name.
Curl(String)
An unrecognized error thrown by curl.
Unrecognized or bad content encoding returned by the server.
Provided credentials were rejected by the server.
InvalidHttpFormat(Error)
Validation error when constructing the request or parsing the response.
Invalid UTF-8 string error.
Io(Error)
An unknown I/O error.
The server did not send a response.
The server does not support or accept range requests.
An error occurred while writing the request body.
An error occurred while reading the response body.
Failed to connect over a secure socket.
An error ocurred in the secure socket engine.
An ongoing request took longer than the configured timeout time.
Number of redirects hit the maximum amount.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,