pub enum HttpErrorKind {
Timeout,
Connection,
Request,
Response {
status: Option<u16>,
},
}Expand description
HTTP error classification for model requests.
Variants§
Timeout
Request timed out.
Connection
Connection failure.
Request
Request construction or transport error.
Response
Response error with optional status code.
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 · 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 PartialEq for HttpErrorKind
impl PartialEq for HttpErrorKind
impl Eq 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