pub enum HttpErrorKind {
Invalid,
Blocked,
Network,
Timeout,
Rejected,
}Expand description
Kind of a failed transport call.
Invalid is a malformed request, Blocked a refused address or scheme,
Rejected a reply that broke a request rule, Timeout a time limit.
Variants§
Trait Implementations§
Source§impl Clone for HttpErrorKind
impl Clone for HttpErrorKind
Source§fn clone(&self) -> HttpErrorKind
fn clone(&self) -> HttpErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HttpErrorKind
Source§impl Debug for HttpErrorKind
impl Debug for HttpErrorKind
impl Eq for HttpErrorKind
Source§impl PartialEq for HttpErrorKind
impl PartialEq for HttpErrorKind
impl StructuralPartialEq for HttpErrorKind
Auto Trait Implementations§
impl Forget for HttpErrorKind
impl Freeze for HttpErrorKind
impl Move for HttpErrorKind
impl RefUnwindSafe for HttpErrorKind
impl Send for HttpErrorKind
impl Sync for HttpErrorKind
impl Unpin for HttpErrorKind
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.