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
impl 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