pub struct ConnectProxyError {
pub response: Box<ResponseHeader>,
}Expand description
The error returned when the CONNECT proxy fails to establish.
Fields§
§response: Box<ResponseHeader>The response header the proxy returns
Implementations§
Source§impl ConnectProxyError
impl ConnectProxyError
pub fn boxed_new(response: Box<ResponseHeader>) -> Box<ConnectProxyError>
Trait Implementations§
Source§impl Debug for ConnectProxyError
impl Debug for ConnectProxyError
Source§impl Display for ConnectProxyError
impl Display for ConnectProxyError
Source§impl Error for ConnectProxyError
impl Error for ConnectProxyError
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 ConnectProxyError
impl !RefUnwindSafe for ConnectProxyError
impl Send for ConnectProxyError
impl Sync for ConnectProxyError
impl Unpin for ConnectProxyError
impl UnsafeUnpin for ConnectProxyError
impl !UnwindSafe for ConnectProxyError
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