pub enum ProxyOptions {
Default,
None,
Custom {
http: Option<Cow<'static, str>>,
https: Option<Cow<'static, str>>,
proxy_bypass: Option<Cow<'static, str>>,
},
}Expand description
Configuration options for proxy settings.
Variants§
Default
Use the system’s default proxy settings.
None
Disable system’s default proxy settings and do not use any proxy.
Custom
Use custom proxy settings.
Trait Implementations§
Source§impl Clone for ProxyOptions
impl Clone for ProxyOptions
Source§impl Debug for ProxyOptions
impl Debug for ProxyOptions
Source§impl Default for ProxyOptions
impl Default for ProxyOptions
impl Eq for ProxyOptions
Source§impl PartialEq for ProxyOptions
impl PartialEq for ProxyOptions
impl StructuralPartialEq for ProxyOptions
Auto Trait Implementations§
impl Freeze for ProxyOptions
impl RefUnwindSafe for ProxyOptions
impl Send for ProxyOptions
impl Sync for ProxyOptions
impl Unpin for ProxyOptions
impl UnsafeUnpin for ProxyOptions
impl UnwindSafe for ProxyOptions
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