pub struct InvalidProxyConfig(pub String);Expand description
§InvalidProxyConfig
Error type for invalid proxy configurations.
This error is returned when a proxy configuration is deemed invalid, such as when required fields are missing or values are not in the expected format.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for InvalidProxyConfig
impl Debug for InvalidProxyConfig
Source§impl Display for InvalidProxyConfig
impl Display for InvalidProxyConfig
Source§impl Error for InvalidProxyConfig
impl Error for InvalidProxyConfig
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 InvalidProxyConfig
impl RefUnwindSafe for InvalidProxyConfig
impl Send for InvalidProxyConfig
impl Sync for InvalidProxyConfig
impl Unpin for InvalidProxyConfig
impl UnsafeUnpin for InvalidProxyConfig
impl UnwindSafe for InvalidProxyConfig
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