pub struct HttpError {
pub kind: HttpErrorKind,
pub message: String,
}Expand description
Why a request failed, from Http::error.
Fields§
§kind: HttpErrorKindWhat kind of failure it is.
message: StringWhat curl or the shell said, such as The requested URL returned error: 404.
Trait Implementations§
impl Eq for HttpError
impl StructuralPartialEq for HttpError
Auto Trait Implementations§
impl Forget for HttpError
impl Freeze for HttpError
impl Move for HttpError
impl RefUnwindSafe for HttpError
impl Send for HttpError
impl Sync for HttpError
impl Unpin for HttpError
impl UnsafeUnpin for HttpError
impl UnwindSafe for HttpError
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