pub struct ProxyConfigError {
pub setting: Cow<'static, str>,
pub reason: Cow<'static, str>,
}Expand description
Invalid or unavailable proxy configuration.
Fields§
§setting: Cow<'static, str>Name of the relevant setting.
reason: Cow<'static, str>Reason the setting is invalid or unavailable.
Implementations§
Trait Implementations§
Source§impl Debug for ProxyConfigError
impl Debug for ProxyConfigError
Source§impl Display for ProxyConfigError
impl Display for ProxyConfigError
Source§impl Error for ProxyConfigError
impl Error for ProxyConfigError
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 ProxyConfigError
impl RefUnwindSafe for ProxyConfigError
impl Send for ProxyConfigError
impl Sync for ProxyConfigError
impl Unpin for ProxyConfigError
impl UnsafeUnpin for ProxyConfigError
impl UnwindSafe for ProxyConfigError
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