pub struct ProxyHttpError { /* private fields */ }Expand description
Error type shared by both proxies, carrying an HTTP status and a message.
Implementations§
Trait Implementations§
Source§impl Debug for ProxyHttpError
impl Debug for ProxyHttpError
Source§impl Display for ProxyHttpError
impl Display for ProxyHttpError
Source§impl Error for ProxyHttpError
impl Error for ProxyHttpError
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()
Source§impl IntoResponse for ProxyHttpError
impl IntoResponse for ProxyHttpError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for ProxyHttpError
impl RefUnwindSafe for ProxyHttpError
impl Send for ProxyHttpError
impl Sync for ProxyHttpError
impl Unpin for ProxyHttpError
impl UnsafeUnpin for ProxyHttpError
impl UnwindSafe for ProxyHttpError
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