pub enum ProxyScope {
Http,
Https,
All,
}Expand description
Which request URLs a ProxyRule applies to.
Variants§
Http
Only http:// request URLs.
Https
Only https:// request URLs. Requests are tunnelled through the proxy with CONNECT.
All
Every request URL, whatever its scheme. The default.
Trait Implementations§
Source§impl Clone for ProxyScope
impl Clone for ProxyScope
Source§fn clone(&self) -> ProxyScope
fn clone(&self) -> ProxyScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProxyScope
Source§impl Debug for ProxyScope
impl Debug for ProxyScope
Source§impl Default for ProxyScope
impl Default for ProxyScope
Source§fn default() -> ProxyScope
fn default() -> ProxyScope
Returns the “default value” for a type. Read more
impl Eq for ProxyScope
Source§impl Hash for ProxyScope
impl Hash for ProxyScope
Source§impl PartialEq for ProxyScope
impl PartialEq for ProxyScope
impl StructuralPartialEq for ProxyScope
Auto Trait Implementations§
impl Freeze for ProxyScope
impl RefUnwindSafe for ProxyScope
impl Send for ProxyScope
impl Sync for ProxyScope
impl Unpin for ProxyScope
impl UnsafeUnpin for ProxyScope
impl UnwindSafe for ProxyScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.