pub enum ReqwestClientDefaultError {
InvalidHeaderValue(InvalidHeaderValue),
ReqwestError(Error),
}
Available on crate features
reqwest
and client
only.Expand description
Possible errors from ClientDefault::default_client_with_name
for reqwest
Variants
InvalidHeaderValue(InvalidHeaderValue)
could not construct header value for User-Agent
ReqwestError(Error)
reqwest returned an error
Trait Implementations
sourceimpl Debug for ReqwestClientDefaultError
impl Debug for ReqwestClientDefaultError
sourceimpl Display for ReqwestClientDefaultError
impl Display for ReqwestClientDefaultError
sourceimpl Error for ReqwestClientDefaultError
impl Error for ReqwestClientDefaultError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for ReqwestClientDefaultError
impl From<Error> for ReqwestClientDefaultError
sourceimpl From<InvalidHeaderValue> for ReqwestClientDefaultError
impl From<InvalidHeaderValue> for ReqwestClientDefaultError
sourcefn from(source: InvalidHeaderValue) -> Self
fn from(source: InvalidHeaderValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ReqwestClientDefaultError
impl Send for ReqwestClientDefaultError
impl Sync for ReqwestClientDefaultError
impl Unpin for ReqwestClientDefaultError
impl !UnwindSafe for ReqwestClientDefaultError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more