pub struct EnvProxy;
Available on crate feature
proxies
only.Expand description
Default Proxy. Performs auto detection from ENV. Supports the schemes http(s)://
and socks5(h)://
.
http_proxy
, HTTPS_PROXY
should be set for protocol-specific proxies.
General proxy should be set with ALL_PROXY
A comma-separated list of host names that shouldn’t go through any proxy is
set in (only an asterisk, ‘*’ matches all hosts) NO_PROXY
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvProxy
impl RefUnwindSafe for EnvProxy
impl Send for EnvProxy
impl Sync for EnvProxy
impl Unpin for EnvProxy
impl UnwindSafe for EnvProxy
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