pub struct ProxyResolutionError {
pub url: Cow<'static, str>,
pub reason: Cow<'static, str>,
}Expand description
URL-specific proxy resolution error.
Fields§
§url: Cow<'static, str>URL that was being resolved.
reason: Cow<'static, str>Why resolution failed.
Implementations§
Trait Implementations§
Source§impl Debug for ProxyResolutionError
impl Debug for ProxyResolutionError
Source§impl Display for ProxyResolutionError
impl Display for ProxyResolutionError
Source§impl Error for ProxyResolutionError
impl Error for ProxyResolutionError
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 ProxyResolutionError
impl RefUnwindSafe for ProxyResolutionError
impl Send for ProxyResolutionError
impl Sync for ProxyResolutionError
impl Unpin for ProxyResolutionError
impl UnsafeUnpin for ProxyResolutionError
impl UnwindSafe for ProxyResolutionError
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