Enum hyper_http_proxy::Intercept
source · pub enum Intercept {
All,
Http,
Https,
None,
Custom(Custom),
}
Expand description
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
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Intercept
impl !RefUnwindSafe for Intercept
impl Send for Intercept
impl Sync for Intercept
impl Unpin for Intercept
impl !UnwindSafe for Intercept
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