pub enum ReqwestGetHeaderError {
NotFound,
}Expand description
Errors that can occur when getting a header value from a reqwest response.
Variants§
NotFound
The requested header is not present.
Trait Implementations§
Source§impl Debug for ReqwestGetHeaderError
impl Debug for ReqwestGetHeaderError
Source§impl Display for ReqwestGetHeaderError
impl Display for ReqwestGetHeaderError
Source§impl Error for ReqwestGetHeaderError
impl Error for ReqwestGetHeaderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for ReqwestGetHeaderError
impl RefUnwindSafe for ReqwestGetHeaderError
impl Send for ReqwestGetHeaderError
impl Sync for ReqwestGetHeaderError
impl Unpin for ReqwestGetHeaderError
impl UnsafeUnpin for ReqwestGetHeaderError
impl UnwindSafe for ReqwestGetHeaderError
Blanket Implementations§
impl<T> AnyError for T
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