Enum hyper_proxy::Intercept
[−]
[src]
pub enum Intercept { All, Http, Https, None, Custom(Custom), }
The Intercept enum to filter connections
Variants
All
All incoming connection will go through proxy
Http
Only http connections will go through proxy
Https
Only https connections will go through proxy
None
No connection will go through this proxy
Custom(Custom)
A custom intercept
Methods
impl Intercept
[src]
Trait Implementations
impl Debug for Intercept
[src]
impl Clone for Intercept
[src]
fn clone(&self) -> Intercept
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more