pub enum HttpErrorKind {
InvalidUrl,
UnknownScheme,
Dns,
ConnectionFailed,
TooManyRedirects,
BadStatus,
BadHeader,
RequestInterrupted,
Io,
StatusCode,
}
Variants§
InvalidUrl
UnknownScheme
Dns
ConnectionFailed
TooManyRedirects
BadStatus
BadHeader
RequestInterrupted
Io
StatusCode
Trait Implementations§
source§impl Clone for HttpErrorKind
impl Clone for HttpErrorKind
source§fn clone(&self) -> HttpErrorKind
fn clone(&self) -> HttpErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HttpErrorKind
impl Debug for HttpErrorKind
source§impl<'de> Deserialize<'de> for HttpErrorKind
impl<'de> Deserialize<'de> for HttpErrorKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for HttpErrorKind
impl PartialEq for HttpErrorKind
source§impl Serialize for HttpErrorKind
impl Serialize for HttpErrorKind
impl StructuralPartialEq for HttpErrorKind
Auto Trait Implementations§
impl Freeze for HttpErrorKind
impl RefUnwindSafe for HttpErrorKind
impl Send for HttpErrorKind
impl Sync for HttpErrorKind
impl Unpin for HttpErrorKind
impl UnwindSafe for HttpErrorKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)