Enum hyper_proxy::Intercept [] [src]

pub enum Intercept {
    All,
    Http,
    Https,
    Custom(Box<Fn(&Uri) -> bool>),
}

The Intercept enum to filter connections

Variants

All incoming connection will go through proxy

Only http connections will go through proxy

Only https connections will go through proxy

A custom intercept

Trait Implementations

impl Debug for Intercept
[src]

[src]

Formats the value using the given formatter.