pub struct ProxyResolution {
pub url: String,
pub proxy: Option<String>,
pub by_scheme: HashMap<String, String>,
pub bypass: Vec<String>,
pub used_auto_detect: bool,
pub used_auto_config_url: bool,
}Expand description
Effective proxy result for a specific URL.
Fields§
§url: StringURL that was resolved.
proxy: Option<String>Raw proxy string returned by WinHTTP.
by_scheme: HashMap<String, String>Parsed proxy endpoints by scheme.
bypass: Vec<String>Bypass entries returned by WinHTTP.
used_auto_detect: boolWhether auto-detect (WPAD) was used for discovery.
used_auto_config_url: boolWhether PAC URL was used for discovery.
Implementations§
Trait Implementations§
Source§impl Clone for ProxyResolution
impl Clone for ProxyResolution
Source§fn clone(&self) -> ProxyResolution
fn clone(&self) -> ProxyResolution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProxyResolution
impl RefUnwindSafe for ProxyResolution
impl Send for ProxyResolution
impl Sync for ProxyResolution
impl Unpin for ProxyResolution
impl UnsafeUnpin for ProxyResolution
impl UnwindSafe for ProxyResolution
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