Enum rusty_box::http_client::reqwest::ReqwestError
source · pub enum ReqwestError {
Client(Error),
StatusCode(Response),
}Variants§
Client(Error)
The request couldn’t be completed because there was an error when trying to do so
StatusCode(Response)
The request was made, but the server returned an unsuccessful status
code, such as 404 or 503. In some cases, the response may contain a
custom message from Box with more information, which can be
serialized into rusty-box::AuthError (not yet really).
Trait Implementations§
source§impl Debug for ReqwestError
impl Debug for ReqwestError
source§impl Display for ReqwestError
impl Display for ReqwestError
source§impl Error for ReqwestError
impl Error for ReqwestError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ReqwestError
impl From<Error> for ReqwestError
source§impl From<ReqwestError> for AuthError
impl From<ReqwestError> for AuthError
source§fn from(source: ReqwestError) -> Self
fn from(source: ReqwestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ReqwestError
impl Send for ReqwestError
impl Sync for ReqwestError
impl Unpin for ReqwestError
impl !UnwindSafe for ReqwestError
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